SqlGeography.RingN 메서드

SQL Server 2012

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

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeography RingN(
	int n

매개 변수

유형: System.Int32
An int expression between 1 and the number of rings in a polygon instance.

반환 값

유형: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography object that represents the ring specified by n.

If the value of the ring index n is less than 1, this method throws an ArgumentOutOfRangeException. The ring index value must be greater than or equal to 1 and should be less than or equal to the number returned by NumRings.

커뮤니티 추가 항목