SqlGeometry.STGeometryType 메서드

SQL Server 2012

Returns the Open Geospatial Consortium (OGC) type name represented by a geometry instance. SqlGeometry

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlString STGeometryType()

반환 값

유형: System.Data.SqlTypes.SqlString
A SqlString value containing the OGC type.

The OGC type names that can be returned by STGeometryType are Point, LineString, Polygon, GeometryCollection, MultiPoint, MultiLineString, and MultiPolygon.