Export (0) Print
Expand All

DataType.HierarchyId Property

The HierarchyId property is used to identify a position in a hierarchy.

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

public static DataType HierarchyId { get; }

Property Value

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

Use HierarchyId to query and perform operations on hierarchical data.

Visual Basic

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


$dt = new-object Microsoft.SqlServer.Management.Smo.DataType([Microsoft.SqlServer.Management.Smo.SqlDataType]::HierarchyId)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft