Proprietà HierarchyId
The HierarchyId property is used to identify a position in a hierarchy.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Shared ReadOnly Property HierarchyId As DataType
Get
'Utilizzo
Dim value As DataType
value = DataType.HierarchyId
public static DataType HierarchyId { get; }
public:
static property DataType^ HierarchyId {
DataType^ get ();
}
static member HierarchyId : DataType
static function get HierarchyId () : DataType
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DataType
A DataType object value that specifies a HierarchyId definition in the data type.
Osservazioni
Use HierarchyId to query and perform operations on hierarchical data.
Esempi
Visual Basic
Dim dt As DataType
dt = New DataType(SqlDataType.HierarchyId)
PowerShell
$dt = new-object Microsoft.SqlServer.Management.Smo.DataType([Microsoft.SqlServer.Management.Smo.SqlDataType]::HierarchyId)