DependencyWalker.WalkDependencies Method (DependencyTree)
Applies To: SQL Server 2016 Preview
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
public DependencyCollection WalkDependencies(
DependencyTree tree
)
public:
DependencyCollection^ WalkDependencies(
DependencyTree^ tree
)
member WalkDependencies :
tree:DependencyTree -> DependencyCollection
Public Function WalkDependencies (
tree As DependencyTree
) As DependencyCollection
Parameters
tree
Type: Microsoft.SqlServer.Management.Smo.DependencyTreeA 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.
Examples
Legacy Code Example
See Also
DependencyWalker Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top