NextMedia Event
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
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.
構文
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);
解説
With SQL Distributed Management Objects (SQL-DMO), use the SQLBackup, SQLRestore, and SQLVerify methods to start a backup or restore operation.