The DependencyWalker object is a tool for performing scripting operations that involve dependencies such as identifying dependent relationships and converting this output to a list.
The following tables list the members exposed by the DependencyWalker type.
Public Constructors
| 名称 | Description | |
|---|---|---|
| DependencyWalker | Overloaded. Initializes a new instance of the DependencyWalker class. | 
顶部
Public Properties
(see also Protected Properties )
| 名称 | Description | |
|---|---|---|
| .gif) | FilterCallbackFunction | Gets or sets the scripting options that allow URNs to be filtered out while running the DiscoverDependencies method. | 
| .gif) | Server | Gets or sets the instance of Microsoft SQL Server that the DependencyWalker tool object is associated with. | 
顶部
Protected Properties
| 名称 | Description | |
|---|---|---|
| .gif) | DependencyTree | |
| .gif) | KnownObjectsList | |
| .gif) | Total | |
| .gif) | TotalCount | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | DiscoverDependencies | Overloaded. Creates a hierarchical object tree that represents the parent or child dependent relationships for a specified object array of Microsoft SQL Server objects on the instance of SQL Server. | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | ToString | (inherited from Object ) | 
| .gif) | WalkDependencies | Creates a linear list of objects and their dependencies from a specified DependencyTree object. | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | GetServerObject | Returns the Server object that represents the instance of Microsoft SQL Server on which the dependency discovery operation is running. | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
Public Events
| 名称 | Description | |
|---|---|---|
| .gif) | DiscoveryProgress | Raises an event at intervals and reports progress on the DiscoveryProgress method. | 
顶部
请参阅
参考
DependencyWalker Class
Microsoft.SqlServer.Management.Smo Namespace