DependencyWalker.WalkDependencies 方法
Creates a linear list of objects and their dependencies from a specified DependencyTree object.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function WalkDependencies ( _
tree As DependencyTree _
) As DependencyCollection
用法
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
参数
- tree
类型:Microsoft.SqlServer.Management.Smo.DependencyTree
A DependencyTree object that specifies the hierarchical object tree.
返回值
类型:Microsoft.SqlServer.Management.Smo.DependencyCollection
A DependencyCollection object that specifies a linear list of SQL Server objects and their dependencies.