SqlGeographyBuilder.BeginGeography Method (OpenGisGeographyType)


Initializes a call sequence for a geography type.

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

public virtual void BeginGeography(
	OpenGisGeographyType type


Type: Microsoft.SqlServer.Types.OpenGisGeographyType

OpenGisGeometryType object that indicates the type being created by the call sequence.

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.

Return to top