SqlGeography.NumRings Method

Definition

Returns the total number of rings in a Polygon instance.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)]
public System.Data.SqlTypes.SqlInt32 NumRings ();
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)>]
member this.NumRings : unit -> System.Data.SqlTypes.SqlInt32
Public Function NumRings () As SqlInt32

Returns

A SqlInt32 value specifying the total number of rings. This method will return NULL if this is not a Polygon instance and will return 0 if the instance is empty.

Attributes

Applies to