RingN Method

SqlSpatialFunctions.RingN Method (DbGeography, Nullable<Int32>)

.NET Framework (current version)
 

Returns the specified ring of the SqlGeography instance: 1 ≤ n ≤ NumRings().

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

[EdmFunctionAttribute("SqlServer", "RINGN")]
public static DbGeography RingN(
	DbGeography geographyValue,
	Nullable<int> index
)

Parameters

geographyValue
Type: System.Data.Spatial.DbGeography

The geography value.

index
Type: System.Nullable<Int32>

An int expression between 1 and the number of rings in a polygon instance.

Return Value

Type: System.Data.Spatial.DbGeography

A SqlGeography object that represents the ring specified by n.

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