We recommend using Visual Studio 2017

DependencyTreeNode Class

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public class DependencyTreeNode : DependencyNode

The DependencyTreeNode type exposes the following members.

Protected methodDependencyTreeNodeInitializes a new instance of the DependencyTreeNode class.

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 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.)

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.)

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.