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: 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
Show: