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)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STNumInteriorRing()

Return Value

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

This method returns null if the SqlGeometry instance is not a polygon.

Community Additions

Show:
© 2015 Microsoft