DependencyTree-Klasse

The DependencyTree object represents a tree structure that contains SQL Server objects and their hierarchical relationships to each other.

Vererbungshierarchie

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 (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Class DependencyTree _
    Inherits DependencyTreeNode
'Usage
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

Der DependencyTree-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode DependencyTree Initializes a new instance of the DependencyTree class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the total number of DependencyTreeNode objects in the DependencyTree object.
Geschützte Eigenschaft Dependencies Gets or sets the collection of dependencies.
Geschützte Eigenschaft DependsOnParents Gets or sets a value that indicates whether the Dependency Tree depends on parent objects.
Öffentliche Eigenschaft FirstChild Gets the first child DependencyTreeNode object in the DependencyTree object. (Überschreibt DependencyTreeNode.FirstChild.)
Öffentliche Eigenschaft HasChildNodes Gets the Boolean property value that specifies whether the DependencyTree object has any child nodes. (Überschreibt DependencyTreeNode.HasChildNodes.)
Geschützte Eigenschaft Index Gets or sets the item at the given index in tree node collection. (Geerbt von DependencyTreeNode.)
Öffentliche Eigenschaft IsSchemaBound Determines if the Dependency Node is bound to a schema (Geerbt von DependencyNode.)
Öffentliche Eigenschaft NextSibling Gets the next sibling DependencyTreeNode object in the DependencyTree object. (Überschreibt DependencyTreeNode.NextSibling.)
Öffentliche Eigenschaft NumberOfSiblings Gets the number of sibling objects in the DependencyTree object hierarchy. (Überschreibt DependencyTreeNode.NumberOfSiblings.)
Geschützte Eigenschaft Roots Gets or sets the collection of root nodes.
Geschützte Eigenschaft Siblings Gets or sets the siblings contained in a dependency tree node. (Geerbt von DependencyTreeNode.)
Öffentliche Eigenschaft Urn Gets the Urn value of that uniquely identifies the SQL Server object that the DependencyTree object represents. (Überschreibt DependencyNode.Urn.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Copy Makes a copy of the DependencyTree object.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Remove Removes a DependencyTreeNode object from the DependencyTree object.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Beispiele

Skripterstellung

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace