Complete 事件

Occurs when the backup or restore operation completes.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)

语法

声明
Public Event Complete As ServerMessageEventHandler
用法
Dim instance As BackupRestoreBase
Dim handler As ServerMessageEventHandler

AddHandler instance.Complete, handler
public event ServerMessageEventHandler Complete
public:
 event ServerMessageEventHandler^ Complete {
    void add (ServerMessageEventHandler^ value);
    void remove (ServerMessageEventHandler^ value);
}
member Complete : IEvent<ServerMessageEventHandler,
    ServerMessageEventArgs>
JScript 支持使用事件,但不支持声明新事件。

注释

In Microsoft 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 ServerMessageEventArgs containing data related to this event. The property provides information specific to this event.

Property

Description

Error

Occurs when an error is raised.