Share via


Propriété Geometry

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property Geometry As DataType
    Get
'Utilisation
Dim value As DataType

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

Valeur de propriété

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

Exemples

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)