共用方式為


DiscoveryProgress 事件

Marks the progress of the discovery process.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Event DiscoveryProgress As ProgressReportEventHandler
'用途
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 支援事件的使用,但不支援新事件的宣告。

範例

傳送資料