次の方法で共有


STSrid プロパティ

インスタンスの SRID (Spatial Reference Identifier) を表す整数である ID を取得します。

名前空間:  Microsoft.SqlServer.Types
アセンブリ:  Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)

構文

'宣言
Public Property STSrid As SqlInt32
    Get
    Set
'使用
Dim instance As SqlGeography
Dim value As SqlInt32

value = instance.STSrid

instance.STSrid = value
public SqlInt32 STSrid { get; set; }
public:
property SqlInt32 STSrid {
    SqlInt32 get ();
    void set (SqlInt32 value);
}
member STSrid : SqlInt32 with get, set
function get STSrid () : SqlInt32
function set STSrid (value : SqlInt32)

プロパティ値

型: System.Data.SqlTypes. . :: . .SqlInt32
SqlGeography インスタンスの SRID を表す SqlInt32 です。