SqlGeography.STGeometryType 메서드

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 Function STGeometryType As SqlString
‘사용 방법
Dim instance As SqlGeography 
Dim returnValue As SqlString 

returnValue = instance.STGeometryType()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlString STGeometryType()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
SqlString STGeometryType()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STGeometryType : unit -> SqlString
public function STGeometryType() : SqlString

반환 값

유형: 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.

참고 항목


SqlGeography 클래스

Microsoft.SqlServer.Types 네임스페이스