Aracılığıyla paylaş


BackupRestoreBase.NextMedia Event

Occurs when the backup or restore operation exhausts the medium in a target device.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in microsoft.sqlserver.smoextended.dll)

Syntax

'Bildirim
Public Event NextMedia As ServerMessageEventHandler
public event ServerMessageEventHandler NextMedia
public:
event ServerMessageEventHandler^ NextMedia {
    void add (ServerMessageEventHandler^ value);
    void remove (ServerMessageEventHandler^ value);
}
/** @event */
public void add_NextMedia (ServerMessageEventHandler value)

/** @event */
public void remove_NextMedia (ServerMessageEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.