DataType.HierarchyId Propiedad
The HierarchyId property is used to identify a position in a hierarchy.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Shared ReadOnly Property HierarchyId As DataType
Get
'Uso
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
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.DataType
A DataType object value that specifies a HierarchyId definition in the data type.
Comentarios
Use HierarchyId to query and perform operations on hierarchical data.
Ejemplos
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)