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.
[System.Data.Entity.DbFunction("SqlServer", "NUMRINGS")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Justification="Naming convention prescribed by OGC specification", MessageId="Num")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geographyValue")]
public static Nullable<int> NumRings (System.Data.Entity.Spatial.DbGeography geographyValue);
static member NumRings : System.Data.Entity.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework