Export (0) Print
Expand All
Expand Minimize

SqlGeometry.STEndPoint Method

Returns the end point of a SqlGeometry instance.

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

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

Return Value

Type: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the endpoint of the calling SqlGeometry.

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

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

Community Additions

© 2014 Microsoft