Compartir a través de


Complete Evento

Occurs when the backup or restore operation completes.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Public Event Complete As ServerMessageEventHandler
'Uso
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 admite el uso de eventos, pero no la declaración de otros nuevos.

Notas

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.