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)

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

© 2014 Microsoft