SqlGeography.STEndPoint Method ()
Applies To: SQL Server 2016 Preview
Returns the end point of a SqlGeography instance.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeography STEndPoint()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
SqlGeography^ STEndPoint()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STEndPoint : unit -> SqlGeography
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)>
Public Function STEndPoint As SqlGeography
Return Value
Type: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography value containing the end point.
Remarks
STEndPoint is the equivalent of SqlGeography.STPointN(x.STNumPoints()).
This method returns null if called on an empty geography instance.
See Also
SqlGeography Class
Microsoft.SqlServer.Types Namespace
Return to top