Partager via


Méthode STPointOnSurface

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

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

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

Valeur de retour

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

Notes

This method returns null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) if the instance is empty.