NextMedia 이벤트
Occurs when the backup or restore operation exhausts the medium in a target device.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SmoExtended.dll의 Microsoft.SqlServer.SmoExtended
구문
‘선언
Public Event NextMedia As ServerMessageEventHandler
‘사용 방법
Dim instance As BackupRestoreBase
Dim handler As ServerMessageEventHandler
AddHandler instance.NextMedia, handler
public event ServerMessageEventHandler NextMedia
public:
event ServerMessageEventHandler^ NextMedia {
void add (ServerMessageEventHandler^ value);
void remove (ServerMessageEventHandler^ value);
}
member NextMedia : IEvent<ServerMessageEventHandler,
ServerMessageEventArgs>
Jscript는 이벤트 사용을 지원하지만 새로운 이벤트 선언은 지원하지 않습니다.
주의
In JScript, you can handle the events defined by a class, but you cannot define your own.
Event Data
The event handler receives an argument of type ServerMessageEventArgs containing data related to this event. The following property provides information specific to this event.
Property |
Description |
---|---|
Error |
Occurs when an error is raised. |