SqlGeography.STGeometryType 메서드

SQL Server 2012

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

네임스페이스:  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 name.

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

커뮤니티 추가 항목