Compartir a través de


NextMedia Event

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

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.

Sintaxis

Private Sub
object
_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);

Notas

With SQL Distributed Management Objects (SQL-DMO), use the SQLBackup, SQLRestore, and SQLVerify methods to start a backup or restore operation.

Applies To:

Backup Object

Restore Object