NextMedia Event
Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.
The NextMedia event occurs when a backup or restore operation exhausts the media in a device indicated as a target or source for the operation.
Sintassi
Private Subobject_NextMedia(Message as String)
Parts
object
Expression that evaluates to an object in the Applies To list.Message
String that contains descriptive message text.
Prototype (C/C++)
HRESULT NextMedia(SQLDMO_LPCSTR Message);
Osservazioni
With SQL Distributed Management Objects (SQL-DMO), use the SQLBackup, SQLRestore, and SQLVerify methods to start a backup or restore operation.