Partilhar via


DependencyWalker.DiscoveryProgress Event

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Event DiscoveryProgress As ProgressReportEventHandler
public event ProgressReportEventHandler DiscoveryProgress
public:
event ProgressReportEventHandler^ DiscoveryProgress {
    void add (ProgressReportEventHandler^ value);
    void remove (ProgressReportEventHandler^ value);
}
/** @event */
public void add_DiscoveryProgress (ProgressReportEventHandler value)

/** @event */
public void remove_DiscoveryProgress (ProgressReportEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Example

How to: Script Out the Dependencies for a Database in Visual Basic .NET

Remarks

In Microsoft JScript, you can handle the events defined by a class, but you cannot define your own.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DependencyWalker Class
DependencyWalker Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Scripting