DataType.Geometry DataType.Geometry DataType.Geometry Property

Definition

The Geometry property contains spatial data that represents information about the physical location and shape of geometric objects.

public:
 static property Microsoft::SqlServer::Management::Smo::DataType ^ Geometry { Microsoft::SqlServer::Management::Smo::DataType ^ get(); };
public static Microsoft.SqlServer.Management.Smo.DataType Geometry { get; }
Public Shared ReadOnly Property Geometry As DataType
Property Value

A DataType object value that specifies a Geometry definition in the data type.

Examples

Visual Basic

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

PowerShell

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

Applies to