Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the end point of a SqlGeography instance.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STEndPoint As SqlGeography
'Usage
Dim instance As SqlGeography
Dim returnValue As SqlGeography
returnValue = instance.STEndPoint()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeography STEndPoint()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlGeography^ STEndPoint()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STEndPoint : unit -> SqlGeography
public function STEndPoint() : SqlGeography
Return Value
Type: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography value containing the end point.
Remarks
STEndPoint is the equivalent of Microsoft.SqlServer.Types.SqlGeography.STPointN(x.STNumPoints()).
This method returns null if called on an empty geography instance.