DependencyWalker Members

Include Protected Members
Include Inherited Members

The DependencyWalker object is a tool to perform scripting operations that involve dependencies such as identifying dependent relationships. The tool and converts this output to a list.

The DependencyWalker type exposes the following members.

Constructors

  Name Description
Public method DependencyWalker() Initializes a new instance of the DependencyWalker class.
Public method DependencyWalker(Server) Initializes a new instance of the DependencyWalker class on the specified instance of SQL Server.

Top

Methods

  Name Description
Public method DiscoverDependencies(array<Urn[], DependencyType)
Public method DiscoverDependencies(array<Urn[], Boolean)
Public method DiscoverDependencies(array<SqlSmoObject[], DependencyType) Creates a hierarchical object tree that represents the parent or child dependent relationships for a specified object array of SQL Server objects on the instance of SQL Server.
Public method DiscoverDependencies(array<SqlSmoObject[], Boolean) Creates a hierarchical object tree that represents the parent or child dependent relationships for a specified object array of SQL Server objects on the instance of SQL Server.
Public method DiscoverDependencies(UrnCollection, DependencyType) Creates a hierarchical object tree that represents the parent or child dependent relationships for a specified Urn collection of SQL Server objects on the instance of SQL Server.
Public method DiscoverDependencies(UrnCollection, Boolean) Creates a hierarchical object tree that represents the parent or child dependent relationships for a specified Urn collection of SQL Server objects on the instance of SQL Server.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Protected method GetServerObject() Returns the Server object that represents the instance of SQL Server on which the dependency discovery operation is running.
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method ToString() (Inherited from Object.)
Public method WalkDependencies(DependencyTree) Creates a linear list of objects and their dependencies from a specified DependencyTree object.

Top

Properties

  Name Description
Protected property DependencyTree Gets or sets a server Dependency Tree.
Public property FilterCallbackFunction Gets or sets the scripting options that allow URNs to be filtered out while running the DiscoverDependencies method.
Protected property KnownObjectsList Gets or sets a list of all known objects in a server.
Public property Server Gets or sets the instance of Microsoft SQL Server that the DependencyWalker tool object is associated with.
Protected property Total
Protected property TotalCount Gets or set the count of objects discovered by a Dependency Walker.

Top

Events

  Name Description
Public event DiscoveryProgress Raises an event at intervals and reports progress on the DiscoveryProgress method.

Top