共用方式為


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 命名空間