다음을 통해 공유


WalkDependencies 메서드

Creates a linear list of objects and their dependencies from a specified DependencyTree object.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
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.

예제

스크립팅