Partager via


Méthode SqlGeography.STEndPoint

Returns the end point of a SqlGeography instance.

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STEndPoint As SqlGeography
'Utilisation
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

Valeur de retour

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

Notes

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

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

Voir aussi

Référence

SqlGeography Classe

Espace de noms Microsoft.SqlServer.Types