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(x.STNumPoints()).

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

Return to top