共用方式為


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

參數

傳回值

型別:Microsoft.SqlServer.Management.Smo. . :: . .DependencyCollection
A DependencyCollection object that specifies a linear list of SQL Server objects and their dependencies.

範例

指令碼