다음을 통해 공유


DataType.Geography 속성

The geography data type represents data in a round-earth coordinate system. The SQL Server geography data type stores ellipsoidal (round-earth) data, such as GPS latitude and longitude coordinates.

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

구문

‘선언
Public Shared ReadOnly Property Geography As DataType 
    Get
‘사용 방법
Dim value As DataType 

value = DataType.Geography
public static DataType Geography { get; }
public:
static property DataType^ Geography {
    DataType^ get ();
}
static member Geography : DataType
static function get Geography () : DataType

속성 값

유형: Microsoft.SqlServer.Management.Smo.DataType
A DataType object value that specifies a Geography definition in the data type.

주의

The geography data type is predefined and available in each database. You can create table columns of type geography and operate on geography data just like you would use other system-supplied types.

Visual Basic

Dim dt As DataType
dt = New DataType(SqlDataType.Geography)

PowerShell

$dt = new-object Microsoft.SqlServer.Management.Smo.DataType([Microsoft.SqlServer.Management.Smo.SqlDataType]::Geography)

참고 항목

참조

DataType 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스