共用方式為


SPBackupRestoreInformation members

Include protected members
Include inherited members

提供執行或剛完成的備份或還原工作的相關資訊。

The SPBackupRestoreInformation type exposes the following members.

Properties

  Name Description
Public property BackupMethod 取得此工作的備份方法。
Public property BackupRestoreRoot 備份物件中取得的最高的層級內容元件。
Public property Children 取得立即備份物件的子項。
Public property CurrentProgress 取得或設定整個工作的百分比表示備份或還原作業已完成的程度。
Public property FailureMessage 取得或設定解釋作業失敗原因的訊息。
Public property IsBackup 取得一個值,指定是否將備份或還原作業。
Public property IsFailure 取得一個值,指出是否作業失敗。
Public property IsRestart Obsolete. 請勿使用。
Public property LastUpdate 取得一個值,指定最後一次CurrentProgress已更新。
Public property Location 取得儲存備份的通用命名慣例 (UNC) 路徑。
Public property ObjectGroup 取得或設定可備份,讓他們不需要個別列為 UI 中選取項目的備份或還原作業的物件的群組的名稱。
Public property Parameters 取得備份或還原作業的參數集。
Public property Parent 取得備份的備份物件目前的作業的父物件。
Public property Self 取得或設定備份的物件之結果的目前的作業 (如果作業是備份),或目前的作業的來源 (如果作業會還原)。
Public property UpdateProgress 取得一個值,指定在哪些點作業應該報告其進度。

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GenerateFileMapping 會包含指定的來源檔案的備份檔案的唯一名稱。
Public method GetHashCode (Inherited from Object.)
Public method GetParameter 會傳回指派給指定的索引鍵索引鍵 / 值組內部儲存區中的值。
Public method GetParameterObject 取得具有指定名稱的參數的值。
Public method GetType (Inherited from Object.)
Public method Log(SqlCommand) 備份或還原的記錄檔中寫入指定的SqlCommand為 string。
Public method Log(SPBackupRestoreLogSeverity, String) 管理記錄檔中寫入錯誤、 警告或告知性訊息。
Protected method MemberwiseClone (Inherited from Object.)
Public method ReverseFileMapping 取得包含指定之的檔案的備份檔案的名稱。
Public method SetInputValue 將指定之的參數設為指定的值應該來自使用者輸入。
Public method SetParameter 將指定之的關鍵值組的名稱新增至內部存放區中的參數。
Public method SetUserNamePassword 將指定的密碼指派給指定的使用者。
Public method ToString (Inherited from Object.)

Top

請參閱

參照

SPBackupRestoreInformation class

Microsoft.SharePoint.Administration.Backup namespace