Classe DependencyTreeNode

The DependencyTreeNode class represents the child and sibling SQL Server objects within a DependencyTree object hierarchy.

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Management.Smo.DependencyNode
    Microsoft.SqlServer.Management.Smo.DependencyTreeNode
      Microsoft.SqlServer.Management.Smo.DependencyTree

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Class DependencyTreeNode _
    Inherits DependencyNode
'Utilizzo
Dim instance As DependencyTreeNode
public class DependencyTreeNode : DependencyNode
public ref class DependencyTreeNode : public DependencyNode
type DependencyTreeNode =  
    class 
        inherit DependencyNode 
    end
public class DependencyTreeNode extends DependencyNode

Nel tipo DependencyTreeNode sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo protetto DependencyTreeNode Initializes a new instance of the DependencyTreeNode class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica FirstChild Gets the first child DependencyTreeNode object of the referenced DependencyTreeNode object.
Proprietà pubblica HasChildNodes Gets the Boolean property value that specifies whether the DependencyTreeNode object has any child nodes.
Proprietà protetta Index Gets or sets the item at the given index in tree node collection.
Proprietà pubblica IsSchemaBound Determines if the Dependency Node is bound to a schema Ereditato da DependencyNode.
Proprietà pubblica NextSibling Gets the next sibling DependencyTreeNode object in the referenced DependencyTreeNode object.
Proprietà pubblica NumberOfSiblings Gets the number of sibling DependencyTreeNode objects in the referenced DependencyTreeNode object.
Proprietà protetta Siblings Gets or sets the siblings contained in a dependency tree node.
Proprietà pubblica Urn Gets or sets the URN value that uniquely identifies the Microsoft SQL Server object that the DependencyNode object represents. Ereditato da DependencyNode.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

The SQL Server objects that the DependencyTree object and DependencyTreeNode objects represent can be obtained using the Urn property. The DependencyTreeNode object can be navigated using the various properties such as FirstChild and NextSibling.

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Esempi

Generazione di script

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo