다음을 통해 공유


HierarchyId 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Shared ReadOnly Property HierarchyId As DataType
    Get
‘사용 방법
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

속성 값

유형: 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)

PowerShell

$dt = new-object Microsoft.SqlServer.Management.Smo.DataType([Microsoft.SqlServer.Management.Smo.SqlDataType]::HierarchyId)