DependencyWalker Members

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
ms219556.pubproperty(zh-cn,SQL.90).gif FilterCallbackFunction Gets or sets the scripting options that allow URNs to be filtered out while running the DiscoverDependencies method.
ms219556.pubproperty(zh-cn,SQL.90).gif Server Gets or sets the instance of Microsoft SQL Server that the DependencyWalker tool object is associated with.

顶部

Protected Properties

  名称 Description
ms219556.protproperty(zh-cn,SQL.90).gif DependencyTree  
ms219556.protproperty(zh-cn,SQL.90).gif KnownObjectsList  
ms219556.protproperty(zh-cn,SQL.90).gif Total  
ms219556.protproperty(zh-cn,SQL.90).gif TotalCount  

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms219556.pubmethod(zh-cn,SQL.90).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.
ms219556.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219556.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms219556.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms219556.pubmethod(zh-cn,SQL.90).gifms219556.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219556.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )
ms219556.pubmethod(zh-cn,SQL.90).gif WalkDependencies Creates a linear list of objects and their dependencies from a specified DependencyTree object.

顶部

Protected Methods

  名称 Description
ms219556.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms219556.protmethod(zh-cn,SQL.90).gif GetServerObject Returns the Server object that represents the instance of Microsoft SQL Server on which the dependency discovery operation is running.
ms219556.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

Public Events

  名称 Description
ms219556.pubevent(zh-cn,SQL.90).gif DiscoveryProgress Raises an event at intervals and reports progress on the DiscoveryProgress method.

顶部

请参阅

参考

DependencyWalker Class
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Scripting