Export (0) Print
Expand All

SqlGeography.STEndPoint Method

Returns the end point of a SqlGeography instance.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeography STEndPoint()

Return Value

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

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

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft