共用方式為


STSrid 屬性

Gets or sets id is an integer representing the Spatial Reference Identifier (SRID) of the instance.

命名空間:  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
A SqlInt32 that represents the SRID of the SqlGeography instance.