Share via


SqlGeography.RingN(Int32) Method

Definition

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

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)]
public Microsoft.SqlServer.Types.SqlGeography RingN (int n);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)>]
member this.RingN : int -> Microsoft.SqlServer.Types.SqlGeography
Public Function RingN (n As Integer) As SqlGeography

Parameters

n
Int32

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

Returns

A SqlGeography object that represents the ring specified by n.

Attributes

Applies to