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.

Return to top