语言

SqlGeography.NumRings 方法

定义

返回多边形实例中的环总数。

[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

返回

一个指定环总数的 SqlInt32 值。 如果此方法不是多边形实例,此方法将返回 NULL,如果实例为空,则返回 0。

属性

适用于