Partager via


WalkDependencies méthode

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function WalkDependencies ( _
    tree As DependencyTree _
) As DependencyCollection
'Utilisation
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

Paramètres

Valeur de retour

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