This topic has not yet been rated - Rate this topic

SqlGeographyBuilder.SetSrid Method

SQL Server 2012

Sets the Spatial Reference Identifier (SRID) for a geography type call sequence.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
'Declaration
PublicOverridableSubSetSrid ( _
	sridAsInteger _
)
'Usage
DiminstanceAsSqlGeographyBuilderDimsridAsInteger

instance.SetSrid(srid)

Parameters

srid
Type: System.Int32
An int that contains the Spatial Reference Identifier for the geography type.

Implements

IGeographySink.SetSrid(Int32)

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.