Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public virtual void SetSrid(
	int srid


Type: System.Int32

An int that contains the Spatial Reference Identifier for the geometry type.

Must call SetSrid() at the start of each geometry type call sequence.

Return to top
© 2015 Microsoft