SqlGeography.STSrid Property
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
'Declaration
Public Property STSrid As SqlInt32
Get
Set
'Usage
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)
Property Value
Type: System.Data.SqlTypes.SqlInt32
A SqlInt32 that represents the SRID of the SqlGeography instance.