Compartilhar via


Evento DiscoveryProgress

Marks the progress of the discovery process.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)

Sintaxe

'Declaração
Public Event DiscoveryProgress As ProgressReportEventHandler
'Uso
Dim instance As Transfer
Dim handler As ProgressReportEventHandler

AddHandler instance.DiscoveryProgress, handler
public event ProgressReportEventHandler DiscoveryProgress
public:
 event ProgressReportEventHandler^ DiscoveryProgress {
    void add (ProgressReportEventHandler^ value);
    void remove (ProgressReportEventHandler^ value);
}
member DiscoveryProgress : IEvent<ProgressReportEventHandler,
    ProgressReportEventArgs>
JScript dá suporte ao uso de eventos, mas não à declaração de eventos novos.