SqlSpatialFunctions.NumRings(DbGeography) Method

Definition

Returns the total number of rings in a Polygon instance.

public:
 static Nullable<int> NumRings(System::Data::Spatial::DbGeography ^ geographyValue);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "NUMRINGS")]
public static int? NumRings (System.Data.Spatial.DbGeography geographyValue);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "NUMRINGS")>]
static member NumRings : System.Data.Spatial.DbGeography -> Nullable<int>
Public Shared Function NumRings (geographyValue As DbGeography) As Nullable(Of Integer)

Parameters

geographyValue
DbGeography

The geography value.

Returns

The total number of rings.

Attributes

Applies to