Compartir a través de


DependencyWalker Miembros

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.

El tipo DependencyWalker expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico DependencyWalker() () () () Initializes a new instance of the DependencyWalker class.
Método publico DependencyWalker(Server) Initializes a new instance of the DependencyWalker class on the specified instance of SQL Server.

Principio

Métodos

  Nombre Descripción
Método publico DiscoverDependencies(array<Urn> [] () [] [], DependencyType)
Método publico DiscoverDependencies(array<Urn> [] () [] [], Boolean)
Método publico 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.
Método publico 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.
Método publico 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.
Método publico 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.
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode (Se hereda de Object).
Método protegido GetServerObject Returns the Server object that represents the instance of SQL Server on which the dependency discovery operation is running.
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método publico ToString (Se hereda de Object).
Método publico WalkDependencies Creates a linear list of objects and their dependencies from a specified DependencyTree object.

Principio

Propiedades

  Nombre Descripción
Propiedad protegida DependencyTree Gets or sets a server Dependency Tree.
Propiedad pública FilterCallbackFunction Gets or sets the scripting options that allow URNs to be filtered out while running the DiscoverDependencies method.
Propiedad protegida KnownObjectsList Gets or sets a list of all known objects in a server.
Propiedad pública Server Gets or sets the instance of Microsoft SQL Server that the DependencyWalker tool object is associated with.
Propiedad protegida Total
Propiedad protegida TotalCount Gets or set the count of objects discovered by a Dependency Walker.

Principio

Eventos

  Nombre Descripción
Evento público DiscoveryProgress Raises an event at intervals and reports progress on the DiscoveryProgress method.

Principio