DependencyWalker.WalkDependencies Method
Creates a linear list of objects and their dependencies from a specified DependencyTree object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function WalkDependencies ( _
tree As DependencyTree _
) As DependencyCollection
'Usage
Dim instance As DependencyWalker
Dim tree As DependencyTree
Dim returnValue As DependencyCollection
returnValue = instance.WalkDependencies(tree)
public DependencyCollection WalkDependencies(
DependencyTree tree
)
public:
DependencyCollection^ WalkDependencies(
DependencyTree^ tree
)
member WalkDependencies :
tree:DependencyTree -> DependencyCollection
public function WalkDependencies(
tree : DependencyTree
) : DependencyCollection
Parameters
- tree
Type: Microsoft.SqlServer.Management.Smo.DependencyTree
A DependencyTree object that specifies the hierarchical object tree.
Return Value
Type: Microsoft.SqlServer.Management.Smo.DependencyCollection
A DependencyCollection object that specifies a linear list of SQL Server objects and their dependencies.