Freigeben über


SqlGeometry.STEndPoint-Methode

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

Rückgabewert

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

Hinweise

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

This method returns nullein NULL-Verweis (Nothing in Visual Basic) if called on an empty SqlGeometry instance.

Siehe auch

Verweis

SqlGeometry Klasse

Microsoft.SqlServer.Types-Namespace