DataType.Geography Property

The Geography datatype 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.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property Geography As DataType
    Get
'Usage
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

Property Value

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

Remarks

The Geography datatype 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.