次の方法で共有


WalkDependencies メソッド

指定した DependencyTree オブジェクトから、オブジェクトとその依存関係の線形リストを作成します。

名前空間:  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
SQL Server オブジェクトとその依存関係の線形リストを示す DependencyCollection オブジェクトです。

使用例

スクリプト