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.STNumInteriorRing Method

Returns the number of interior rings of a Polygon SqlGeometry instance.

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

public function STNumInteriorRing() : SqlInt32

Return Value

Type: SqlInt32
A SqlInt32 value that specifies the number of interior rings.

This method returns a null reference (Nothing in Visual Basic) if the SqlGeometry instance is not a polygon.

Community Additions

Show:
© 2015 Microsoft