Megosztás a következőn keresztül:


BackupRestoreBase.Complete Event

Occurs when the backup or restore operation completes.

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

Syntax

'Declaration
Public Event Complete As ServerMessageEventHandler
'Usage
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 supports the use of events, but not the declaration of new ones.

Remarks

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.