SqlGeography.STSrid Property

 

Applies To: SQL Server 2016 Preview

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

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

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

Property Value

Type: System.Data.SqlTypes.SqlInt32

A SqlInt32 that represents the SRID of the SqlGeography instance.

See Also

SqlGeography Class
Microsoft.SqlServer.Types Namespace

Return to top