Partager via


Propriété SqlGeometry.STSrid

Gets or sets an integer that represents 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 SqlGeometry 
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 value that contains the SRID of the SqlGeometry instance.

Notes

This property can be modified.

Voir aussi

Référence

SqlGeometry Classe

Espace de noms Microsoft.SqlServer.Types