SqlSpatialFunctions.NumRings(DbGeography) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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