Condividi tramite


BackupRestoreBase.Information Event

Occurs when any informational message is issued by Microsoft SQL Server that cannot be handled by the CompleteNextMedia or PercentComplete events.

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Event Information As ServerMessageEventHandler
public event ServerMessageEventHandler Information
public:
event ServerMessageEventHandler^ Information {
    void add (ServerMessageEventHandler^ value);
    void remove (ServerMessageEventHandler^ value);
}
/** @event */
public void add_Information (ServerMessageEventHandler value)

/** @event */
public void remove_Information (ServerMessageEventHandler value)
JScript non supporta la dichiarazione di nuovi eventi ma ne supporta l'utilizzo.

Esempio

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

Osservazioni

In Microsoft JScript, you can handle the events defined by a class, but you cannot define your own.

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

BackupRestoreBase Class
BackupRestoreBase Members
Microsoft.SqlServer.Management.Smo Namespace

Altre risorse

Handling SMO Events
RESTORE (Transact-SQL)
BACKUP (Transact-SQL)
Backup e ripristino di database in SQL Server