共用方式為


IVssComponentEx 類別 (vswriter.h)

定義其他方法來檢查和修改要求者備份元件檔中包含的元件相關信息。

IVssComponentEx 介面是 C++ (不是 COM) 介面。

若要取得 IVssComponentEx 介面的實例,請呼叫 IVssComponent 介面的 QueryInterface 方法,並將IID_IVssComponentEx常數當做介面標識符傳遞 (IID) 參數。

繼承

IVssComponentEx 介面繼承自 IVssComponentIVssComponentEx 也有下列類型的成員:

方法

IVssComponentEx 類別具有這些方法。

 
IVssComponentEx::GetAuthoritativeRestore

判斷要求者是否已將元件的還原標示為複寫數據存放區的授權。
IVssComponentEx::GetPostSnapshotFailureMsg

傳回寫入器為指定元件設定的 PostSnapshot 失敗訊息字串。
IVssComponentEx::GetPrepareForBackupFailureMsg

傳回寫入器為指定元件設定的 PrepareForBackup 失敗訊息字串。
IVssComponentEx::GetRestoreName

取得指派給正在還原之元件的邏輯名稱。
IVssComponentEx::GetRollForward

取得元件的向前復原作業類型,並取得部分向前復原作業的還原點。
IVssComponentEx::SetPostSnapshotFailureMsg

設定元件的 PostSnapshot 失敗訊息字串。
IVssComponentEx::SetPrepareForBackupFailureMsg

設定元件的 PrepareForBackup 失敗訊息字串。

規格需求

需求
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
目標平台 Windows
標頭 vswriter.h (包括 Vss.h、VsWriter.h)

另請參閱

IVssComponent