Partager via


Propriété STSrid

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

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

'Déclaration
Public Property STSrid As SqlInt32
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System.Data.SqlTypes. . :: . .SqlInt32
A SqlInt32 that represents the SRID of the SqlGeography instance.