Partager via


Propriété SqlGeography.STSrid

 

Obtient ou définit un ID qui est un entier représentant l'identificateur de référence spatial (SRID, Spatial Reference Identifier) de l'instance.

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

Syntaxe

public SqlInt32 STSrid {
    [SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
    get;
    [SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
    set;
}
public:
property SqlInt32 STSrid {
    [SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
    SqlInt32 get();
    [SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
    void set(SqlInt32 value);
}
member STSrid : SqlInt32 with get, set
Public Property STSrid As SqlInt32

Valeur de propriété

Type: System.Data.SqlTypes.SqlInt32

SqlInt32 qui représente le SRID de l'instance SqlGeography.

Voir aussi

SqlGeography, classe
Microsoft.SqlServer.Types, espace de noms

Retour au début