SqlGeography.STEndPoint 方法

Returns the end point of a SqlGeography instance.

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STEndPoint As SqlGeography
用法
Dim instance As SqlGeography 
Dim returnValue As SqlGeography 

returnValue = instance.STEndPoint()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeography STEndPoint()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlGeography^ STEndPoint()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STEndPoint : unit -> SqlGeography
public function STEndPoint() : SqlGeography

返回值

类型:Microsoft.SqlServer.Types.SqlGeography
A SqlGeography value containing the end point.

注释

STEndPoint is the equivalent of STPointN(x.STNumPoints()).

This method returns null if called on an empty geography instance.

请参阅

参考

SqlGeography 类

Microsoft.SqlServer.Types 命名空间