HierarchyTreeNode 类

定义

代表带有自身图标并知道如何处理 Explorer 层级的晚加载节点。

public ref class HierarchyTreeNode abstract : Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::LazyNode, Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::IExplorerHierarchyNode, Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::INodeWithIcon
public abstract class HierarchyTreeNode : Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.LazyNode, Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IExplorerHierarchyNode, Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.INodeWithIcon
type HierarchyTreeNode = class
    inherit LazyNode
    interface IExplorerHierarchyNode
    interface INodeWithIcon
Public MustInherit Class HierarchyTreeNode
Inherits LazyNode
Implements IExplorerHierarchyNode, INodeWithIcon
继承
HierarchyTreeNode
实现

构造函数

名称 说明
HierarchyTreeNode()

初始化一个带有默认属性值的新 HierarchyTreeNode 类实例。

HierarchyTreeNode(SerializationInfo, StreamingContext)

初始化一个包含指定信息和上下文的类新实例 HierarchyTreeNode

属性

名称 说明
Expandable

获得或设置一个值,表示节点 是否可以被扩展

(继承自 LazyNode)
Expanding

会提示节点当前是否在扩张。

(继承自 LazyNode)
Hierarchy

获取或设置属于IExplorerHierarchy对象的节点。

Icon

它获得了 HierarchyTreeNode 的正常图标。

Root

它得到了层级结构的根源。

SelectedIcon

当该节点在树中被选中时,它会获得图标。

ShowPolicyHealthState

获取或设置一个值,表示策略健康状态是否被显示。

State

获得健康州的政策。

方法

名称 说明
CancelExpand()

指定树节点应停止扩展。

(继承自 LazyNode)
EnumerateChildren()

构建子节点并移除假节点(如果存在)。

(继承自 LazyNode)

适用于