다음을 통해 공유


STEndPoint 메서드

Returns the end point of a SqlGeometry instance.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STEndPoint As SqlGeometry
‘사용 방법
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

반환 값

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

주의

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

This method returns null Nothing nullptr unit null 참조(Visual Basic에서는 Nothing) if called on an empty SqlGeometry instance.