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 | |
---|---|---|
DependencyTreeNode | Initializes a new instance of the DependencyTreeNode class. |
Top
Properties
Name | Description | |
---|---|---|
FirstChild | Gets the first child DependencyTreeNode object of the referenced DependencyTreeNode object. | |
HasChildNodes | Gets the Boolean property value that specifies whether the DependencyTreeNode object has any child nodes. | |
Index | Gets or sets the item at the given index in tree node collection. | |
IsSchemaBound | Determines if the Dependency Node is bound to a schema (Inherited from DependencyNode.) | |
NextSibling | Gets the next sibling DependencyTreeNode object in the referenced DependencyTreeNode object. | |
NumberOfSiblings | Gets the number of sibling DependencyTreeNode objects in the referenced DependencyTreeNode object. | |
Siblings | Gets or sets the siblings contained in a dependency tree node. | |
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 | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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
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.