SqlGeometry.STPointOnSurface 메서드

Returns an arbitrary point located within the interior of a SqlGeometry instance.

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

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STPointOnSurface As SqlGeometry
‘사용 방법
Dim instance As SqlGeometry 
Dim returnValue As SqlGeometry 

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

반환 값

유형: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents a point within the calling SqlGeometry.

주의

This method returns nullnull 참조(Visual Basic에서는 Nothing) if the instance is empty.

참고 항목

참조

SqlGeometry 클래스

Microsoft.SqlServer.Types 네임스페이스