NumRings Method

SqlSpatialFunctions.NumRings Method (DbGeography)

.NET Framework (current version)
 

Returns the total number of rings in a Polygon instance.

Namespace:   System.Data.Objects.SqlClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[EdmFunctionAttribute("SqlServer", "NUMRINGS")]
public static Nullable<int> NumRings(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Spatial.DbGeography

The geography value.

Return Value

Type: System.Nullable<Int32>

The total number of rings.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft