Export (0) Print
Expand All

DependencyTree Class

 

Applies To: SQL Server 2016 Preview

The DependencyTree object represents a tree structure that contains SQL Server objects and their hierarchical relationships to each other.

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


type DependencyTree = 
    class
        inherit DependencyTreeNode
    end

NameDescription
System_CAPS_pubmethodDependencyTree(DependencyTree)

Initializes a new instance of the DependencyTree class.

NameDescription
System_CAPS_pubpropertyCount

Gets the total number of DependencyTreeNode objects in the DependencyTree object.

System_CAPS_protpropertyDependencies

Gets or sets the collection of dependencies.

System_CAPS_protpropertyDependsOnParents

Gets or sets a value that indicates whether the Dependency Tree depends on parent objects.

System_CAPS_pubpropertyFirstChild

Gets the first child DependencyTreeNode object in the DependencyTree object.(Overrides DependencyTreeNode.FirstChild.)

System_CAPS_pubpropertyHasChildNodes

Gets the Boolean property value that specifies whether the DependencyTree object has any child nodes.(Overrides DependencyTreeNode.HasChildNodes.)

System_CAPS_protpropertyIndex

Gets or sets the item at the given index in tree node collection.(Inherited from DependencyTreeNode.)

System_CAPS_pubpropertyIsSchemaBound

Determines if the Dependency Node is bound to a schema(Inherited from DependencyNode.)

System_CAPS_pubpropertyNextSibling

Gets the next sibling DependencyTreeNode object in the DependencyTree object. (Overrides DependencyTreeNode.NextSibling.)

System_CAPS_pubpropertyNumberOfSiblings

Gets the number of sibling objects in the DependencyTree object hierarchy.(Overrides DependencyTreeNode.NumberOfSiblings.)

System_CAPS_protpropertyRoots

Gets or sets the collection of root nodes.

System_CAPS_protpropertySiblings

Gets or sets the siblings contained in a dependency tree node.(Inherited from DependencyTreeNode.)

System_CAPS_pubpropertyUrn

Gets the T:Microsoft.SqlServer.Management.Smo.Urn value of that uniquely identifies the SQL Server object that the DependencyTree object represents.(Overrides DependencyNode.Urn.)

NameDescription
System_CAPS_pubmethodCopy()

Makes a copy of the DependencyTree object.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(DependencyTreeNode)

Removes a DependencyTreeNode object from the DependencyTree object.

System_CAPS_pubmethodToString()

(Inherited from Object.)

The DependencyTree object represents a SQL Server object that also references child and sibling SQL Server objects. The references to child and sibling objects are represented by DependencyTreeNode objects. The SQL Server objects that the DependencyTree object and DependencyTreeNode objects represent can be obtained using the T:Microsoft.SqlServer.Management.Smo.Urn property. The DependencyTree object can be navigated using the various properties such as FirstChild and NextSibling or by using the WalkDependencies method of the DependencyWalker object.

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.

Legacy Code Example

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft