DataType.Geography プロパティ

geography データ型は、球体地球座標系のデータを表します。 SQL Server geography データ型は、GPS の緯度経度座標などの楕円体 (球体地球) データを格納します。

名前空間:  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
データ型の Geography 定義を示す DataType オブジェクト値です。

説明

geography データ型は、各データベースで使用できるように事前に定義されています。 geography のテーブル列を作成し、システムが提供する他のデータ型を使用するときと同じように geography データを操作できます。

使用例

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 名前空間