PercentComplete 事件
Occurs when a backup or restore operation reaches a completion unit.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)
語法
'宣告
Public Event PercentComplete As PercentCompleteEventHandler
'用途
Dim instance As BackupRestoreBase
Dim handler As PercentCompleteEventHandler
AddHandler instance.PercentComplete, handler
public event PercentCompleteEventHandler PercentComplete
public:
event PercentCompleteEventHandler^ PercentComplete {
void add (PercentCompleteEventHandler^ value);
void remove (PercentCompleteEventHandler^ value);
}
member PercentComplete : IEvent<PercentCompleteEventHandler,
PercentCompleteEventArgs>
JScript 支援事件的使用,但不支援新事件的宣告。
備註
In JScript, you can handle the events defined by a class, but you cannot define your own.
Event Data
The event handler receives an argument of type PercentCompleteEventArgs containing data related to this event. The following properties provide information specific to this event.