共用方式為


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 null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) if the instance is empty.