Export (0) Print
Expand All
Expand Minimize

SqlGeometry.STPointOnSurface Method

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

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

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STPointOnSurface As SqlGeometry
'Usage
Dim instance As SqlGeometry 
Dim returnValue As SqlGeometry 

returnValue = instance.STPointOnSurface()

Return Value

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

This method returns Nothing if the instance is empty.

Community Additions

ADD
Show:
© 2014 Microsoft