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 SqlGeometry STPointOnSurface()

Return Value

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

This method returns null if the instance is empty.

Community Additions