Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Return Value

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

This method returns nullptr if the instance is empty.

Community Additions

© 2015 Microsoft