HierarchyTreeNode Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Représente le nœud de chargement tardif qui possède ses propres icônes et sait comment gérer la hiérarchie de l’Explorateur.
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
- Héritage
- Implémente
Constructeurs
| Nom | Description |
|---|---|
| HierarchyTreeNode() |
Initialise une nouvelle instance de la HierarchyTreeNode classe avec les valeurs de propriété par défaut. |
| HierarchyTreeNode(SerializationInfo, StreamingContext) |
Initialise une nouvelle instance de la HierarchyTreeNode classe avec des informations et un contexte spécifiés. |
Propriétés
| Nom | Description |
|---|---|
| Expandable |
Obtient ou fixe une valeur indiquant si un nœud peut être développé. (Hérité de LazyNode) |
| Expanding |
Ça donne une indication si un nœud est en train de s’étendre. (Hérité de LazyNode) |
| Hierarchy |
Obtient ou définit le nœud qui appartient à l’objet IExplorerHierarchy. |
| Icon |
Obtient l’icône normale pour le HierarchyTreeNode. |
| Root |
Ça prend la racine de la hiérarchie. |
| SelectedIcon |
Il obtient l’icône lorsque ce nœud est sélectionné dans l’arbre. |
| ShowPolicyHealthState |
Obtient ou définit une valeur indiquant si l’état de santé de la politique est affiché. |
| State |
Obtient la politique de santé. |
Méthodes
| Nom | Description |
|---|---|
| CancelExpand() |
Précise qu’un nœud arbre doit cesser de s’étendre. (Hérité de LazyNode) |
| EnumerateChildren() |
Construit des enfants et supprime le faux nœud s’il est présent. (Hérité de LazyNode) |