共用方式為


SqlGeographyBuilder.BeginGeography 方法

Initializes a call sequence for a geography type.

命名空間:  Microsoft.SqlServer.Types
組件:  Microsoft.SqlServer.Types (在 Microsoft.SqlServer.Types.dll 中)

語法

'宣告
Public Overridable Sub BeginGeography ( _
    type As OpenGisGeographyType _
)
'用途
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
)

參數

實作

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.

請參閱

參考

SqlGeographyBuilder 類別

Microsoft.SqlServer.Types 命名空間