共用方式為


RestorePlan.NextRestore 事件

Occurs when the next restore occurs.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Event NextRestore As NextRestoreEventHandler
'用途
Dim instance As RestorePlan 
Dim handler As NextRestoreEventHandler 

AddHandler instance.NextRestore, handler
public event NextRestoreEventHandler NextRestore
public:
 event NextRestoreEventHandler^ NextRestore {
    void add (NextRestoreEventHandler^ value);
    void remove (NextRestoreEventHandler^ value);
}
member NextRestore : IEvent<NextRestoreEventHandler,
    NextRestoreEventArgs>
JScript 支援事件的使用,但不支援新事件的宣告。

請參閱

參考

RestorePlan 類別

Microsoft.SqlServer.Management.Smo 命名空間