Export (0) Print
Expand All
Expand Minimize

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 nullptr if the SqlGeometry instance is not a polygon.

Community Additions

ADD
Show:
© 2014 Microsoft