Partilhar via


Método SqlGeometry.STEndPoint

Returns the end point of a SqlGeometry 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 SqlGeometry
'Uso
Dim instance As SqlGeometry 
Dim returnValue As SqlGeometry 

returnValue = instance.STEndPoint()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeometry STEndPoint()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlGeometry^ STEndPoint()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STEndPoint : unit -> SqlGeometry
public function STEndPoint() : SqlGeometry

Valor de retorno

Tipo: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the endpoint of the calling SqlGeometry.

Comentários

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

This method returns nulluma referência nula (Nothing no Visual Basic) if called on an empty SqlGeometry instance.

Consulte também

Referência

SqlGeometry Classe

Namespace Microsoft.SqlServer.Types