Classe DependencyTree
The DependencyTree object represents a tree structure that contains SQL Server objects and their hierarchical relationships to each other.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .DependencyNode
Microsoft.SqlServer.Management.Smo. . :: . .DependencyTreeNode
Microsoft.SqlServer.Management.Smo..::..DependencyTree
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Class DependencyTree _
Inherits DependencyTreeNode
'Uso
Dim instance As DependencyTree
public class DependencyTree : DependencyTreeNode
public ref class DependencyTree : public DependencyTreeNode
type DependencyTree =
class
inherit DependencyTreeNode
end
public class DependencyTree extends DependencyTreeNode
O tipo DependencyTree expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
DependencyTree | Initializes a new instance of the DependencyTree class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Count | Gets the total number of DependencyTreeNode objects in the DependencyTree object. | |
Dependencies | Gets or sets a Dependency Chain Collection | |
DependsOnParents | Gets or sets property indicating if the Dependency Tree depends on parent objects. | |
FirstChild | Gets the first child DependencyTreeNode object in the DependencyTree object. (Substitui DependencyTreeNode. . :: . .FirstChild.) | |
HasChildNodes | Gets the Boolean property value that specifies whether the DependencyTree object has any child nodes. (Substitui DependencyTreeNode. . :: . .HasChildNodes.) | |
Index | Gets or sets the item at the given index in tree node collection. (Herdado de DependencyTreeNode.) | |
IsSchemaBound | Determines if the Dependency Node is bound to a schema (Herdado de DependencyNode.) | |
NextSibling | Gets the next sibling DependencyTreeNode object in the DependencyTree object. (Substitui DependencyTreeNode. . :: . .NextSibling.) | |
NumberOfSiblings | Gets the number of sibling objects in the DependencyTree object hierarchy. (Substitui DependencyTreeNode. . :: . .NumberOfSiblings.) | |
Roots | Gets or sets the root nodes of a Dependency Chain Collection. | |
Siblings | Gets or sets siblings contained in a Dependency Tree Node. (Herdado de DependencyTreeNode.) | |
Urn | Gets the Urn value of that uniquely identifies the SQL Server object that the DependencyTree object represents. (Substitui DependencyNode. . :: . .Urn.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Copy | Makes a copy of the DependencyTree object. | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
Remove | Removes a DependencyTreeNode object from the DependencyTree object. | |
ToString | (Herdado de Object.) |
Início
Comentários
The DependencyTree object represents a SQL Server object that also references child and sibling SQL Server objects. The references to child and sibling objects are represented by DependencyTreeNode objects. The SQL Server objects that the DependencyTree object and DependencyTreeNode objects represent can be obtained using the Urn property. The DependencyTree object can be navigated using the various properties such as FirstChild and NextSibling or by using the WalkDependencies method of the DependencyWalker object.
Thread Safety
Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.