Export (0) Print
Expand All

DependencyTreeNode Class

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

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)

public class DependencyTreeNode extends DependencyNode

The DependencyTreeNode type exposes the following members.

  NameDescription
Protected methodDependencyTreeNodeInitializes a new instance of the DependencyTreeNode class.
Top

  NameDescription
Public propertyFirstChildGets the first child DependencyTreeNode object of the referenced DependencyTreeNode object.
Public propertyHasChildNodesGets the Boolean property value that specifies whether the DependencyTreeNode object has any child nodes.
Protected propertyIndexGets or sets the item at the given index in tree node collection.
Public propertyIsSchemaBoundDetermines if the Dependency Node is bound to a schema (Inherited from DependencyNode.)
Public propertyNextSiblingGets the next sibling DependencyTreeNode object in the referenced DependencyTreeNode object.
Public propertyNumberOfSiblingsGets the number of sibling DependencyTreeNode objects in the referenced DependencyTreeNode object.
Protected propertySiblingsGets or sets the siblings contained in a dependency tree node.
Public propertyUrnGets or sets the URN value that uniquely identifies the Microsoft SQL Server object that the DependencyNode object represents. (Inherited from DependencyNode.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft