Condividi tramite


Metodo STPointOnSurface

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

Spazio dei nomi  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Sintassi

'Dichiarazione
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STPointOnSurface As SqlGeometry
'Utilizzo
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

Valore restituito

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

Osservazioni

This method returns null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). if the instance is empty.