This topic has not yet been rated - Rate this topic

SqlGeographyBuilder.BeginGeography Method

Initializes a call sequence for a geography type.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
'Declaration
PublicOverridableSubBeginGeography ( _
	typeAsOpenGisGeographyType _
)
'Usage
DiminstanceAsSqlGeographyBuilderDimtypeAsOpenGisGeographyType

instance.BeginGeography(type)

Parameters

type
Type: Microsoft.SqlServer.Types.OpenGisGeographyType
OpenGisGeometryType object that indicates the type being created by the call sequence.

Implements

IGeographySink.BeginGeography(OpenGisGeographyType)

Call sequences that open with a BeginGeography() must close with a EndGeography().

BeginGeography() and EndGeography() pairs can be nested.

Valid values for type are Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection, and FullGlobe.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.