SqlGeography インスタンス内の各図形に含まれる地点の合計数を返します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STNumPoints As SqlInt32
'使用
Dim instance As SqlGeography
Dim returnValue As SqlInt32
returnValue = instance.STNumPoints()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STNumPoints()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlInt32 STNumPoints()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STNumPoints : unit -> SqlInt32
public function STNumPoints() : SqlInt32
戻り値
型: System.Data.SqlTypes.SqlInt32
SqlGeography インスタンス内の各図形に含まれる地点の合計数を示す SqlInt32 値です。
説明
このメソッドは、SqlGeography インスタンスの記述に含まれている地点をカウントします。 重複する地点はカウントされます。 対象となるインスタンスが GeometryCollection の場合、このメソッドは、コレクション内の各要素に含まれる地点の合計数を返します。