Partilhar via


Método DependencyWalker.WalkDependencies

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function WalkDependencies ( _
    tree As DependencyTree _
) As DependencyCollection
'Uso
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

Parâmetros

Valor de retorno

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

Exemplos

Gerando scripts

Consulte também

Referência

DependencyWalker Classe

Namespace Microsoft.SqlServer.Management.Smo