DataType.Geometry Property


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

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

public static DataType Geometry { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.DataType

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

Visual Basic

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


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