Partilhar via


Método SqlGeography.STEndPoint

Returns the end point of a SqlGeography instance.

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

Sintaxe

'Declaração
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STEndPoint As SqlGeography
'Uso
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

Valor de retorno

Tipo: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography value containing the end point.

Comentários

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

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

Consulte também

Referência

SqlGeography Classe

Namespace Microsoft.SqlServer.Types