Partilhar via


Método SqlGeometry.STPointOnSurface

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

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (em Microsoft.SqlServer.Types.dll)

Sintaxe

'Declaração
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STPointOnSurface As SqlGeometry
'Uso
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

Valor de retorno

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

Comentários

This method returns nulluma referência nula (Nothing no Visual Basic) if the instance is empty.

Consulte também

Referência

SqlGeometry Classe

Namespace Microsoft.SqlServer.Types