Partager via


Méthode STEndPoint

Returns the end point of a SqlGeometry 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 SqlGeometry
'Utilisation
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

Valeur de retour

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

Notes

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

This method returns null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) if called on an empty SqlGeometry instance.