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 Function STNumInteriorRing As SqlInt32

Return Value

Type: System.Data.SqlTypes.SqlInt32

A SqlInt32 value that specifies the number of interior rings.

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

Return to top