Share via


SqlGeographyBuilder.BeginGeography Method

Initializes a call sequence for a geography type.

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

Syntax

'Declaration
Public Overridable Sub BeginGeography ( _
    type As OpenGisGeographyType _
)
'Usage
Dim instance As SqlGeographyBuilder
Dim type As OpenGisGeographyType

instance.BeginGeography(type)
public virtual void BeginGeography(
    OpenGisGeographyType type
)
public:
virtual void BeginGeography(
    OpenGisGeographyType type
)
abstract BeginGeography : 
        type:OpenGisGeographyType -> unit 
override BeginGeography : 
        type:OpenGisGeographyType -> unit 
public function BeginGeography(
    type : OpenGisGeographyType
)

Parameters

Implements

IGeographySink.BeginGeography(OpenGisGeographyType)

Remarks

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.