HierarchyTreeNode Class

Definition

表示具有自己的图标并且知道如何处理资源管理器层次结构的后期加载节点。Represents the late loading node that has its own icons and knows how to deal with the Explorer hierarchy.

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
Inheritance
HierarchyTreeNode
Implements

Constructors

HierarchyTreeNode()

使用默认属性值初始化 HierarchyTreeNode 类的新实例。Initializes a new instance of the HierarchyTreeNode class with the default property values.

HierarchyTreeNode(SerializationInfo, StreamingContext)

使用指定的信息和上下文初始化 HierarchyTreeNode 类的新实例。Initializes a new instance of the HierarchyTreeNode class with specified information and context.

Properties

Expandable

获取或设置一个值,该值指示节点是否可以展开Gets or sets a value indicating whether a node can be expanded.

(Inherited from LazyNode)
Expanding

如果某一节点当前正在展开则获取一个指示。Gets an indication if a node is currently expanding.

(Inherited from LazyNode)
Hierarchy

获取或设置属于 IExplorerHierarchy 对象的节点。Gets or sets the node that belongs to the IExplorerHierarchy object.

Icon

获取 HierarchyTreeNode 的普通图标。Gets the normal icon for the HierarchyTreeNode.

Root

获取层次结构的根。Gets the root of the hierarchy.

SelectedIcon

获取在树中选择此节点时的图标。Gets the icon when this node is selected in the tree.

ShowPolicyHealthState

获取或设置一个值,该值指示是否显示策略运行状态。Gets or sets a value indicating whether the policy health state is displayed.

State

获取策略运行状态。Gets the policy health state.

Methods

CancelExpand()

指定树节点应停止展开。Specifies that a tree node should stop expanding.

(Inherited from LazyNode)
EnumerateChildren()

生成子节点并且删除伪节点(如果存在)。Builds children and removes the fake node if present.

(Inherited from LazyNode)

Applies to