SqlGeometryBuilder.SetSrid Method (Int32)
Applies To: SQL Server 2016 Preview
Sets the Spatial Reference Identifier (SRID) for a geometry type call sequence.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
public virtual void SetSrid(
int srid
)
public:
virtual void SetSrid(
int srid
)
abstract SetSrid :
srid:int -> unit
override SetSrid :
srid:int -> unit
Public Overridable Sub SetSrid (
srid As Integer
)
Parameters
srid
Type: System.Int32An int that contains the Spatial Reference Identifier for the geometry type.
Implements
Remarks
Must call SetSrid() at the start of each geometry type call sequence.
See Also
SqlGeometryBuilder Class
Microsoft.SqlServer.Types Namespace
Return to top