Dela via


DependencyTreeNode Class

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

Inheritance Hierarchy

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 DependencyTreeNode _
    Inherits DependencyNode
'Usage
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

The DependencyTreeNode type exposes the following members.

Constructors

  Name Description
Protected method DependencyTreeNode Initializes a new instance of the DependencyTreeNode class.

Top

Properties

  Name Description
Public property FirstChild Gets the first child DependencyTreeNode object of the referenced DependencyTreeNode object.
Public property HasChildNodes Gets the Boolean property value that specifies whether the DependencyTreeNode object has any child nodes.
Protected property Index Gets or sets the item at the given index in tree node collection.
Public property IsSchemaBound Determines if the Dependency Node is bound to a schema (Inherited from DependencyNode.)
Public property NextSibling Gets the next sibling DependencyTreeNode object in the referenced DependencyTreeNode object.
Public property NumberOfSiblings Gets the number of sibling DependencyTreeNode objects in the referenced DependencyTreeNode object.
Protected property Siblings Gets or sets siblings contained in a Dependency Tree Node.
Public property Urn Gets or sets the URN value that uniquely identifies the Microsoft SQL Server object that the DependencyNode object represents. (Inherited from DependencyNode.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Examples

Scripting

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.