共用方式為


SPExport members

Include protected members
Include inherited members

支援將匯出的指定內容從來源SharePoint Foundation網站集合 CAB 檔案 (副檔名.cmp 檔案),以 XML 格式。

The SPExport type exposes the following members.

Constructors

  Name Description
Public method SPExport() 初始化SPExport類別的非參數化執行個體。
Public method SPExport(SPExportSettings) 初始化SPExport類別的執行個體,且想要的Microsoft.SharePoint.Deployment.SPExportSettings值中傳遞。
Public method SPExport(Uri, String) 初始化指定的來源網站的 URL 與位置的內容移轉套件SPExport類別的執行個體。
Public method SPExport(Uri, String, String) 初始化指定的來源網站的 URL、 內容移轉套件及內容移轉套件的基底檔案名稱的位置SPExport類別的執行個體。

Top

Properties

  Name Description
Public property Settings 取得或設定Microsoft.SharePoint.Deployment.SPExportSettings物件上的 [匯出設定。
Protected property Site 取得或設定SPSite物件的受保護執行個體。 (Inherited from SPDeployment.)

Top

Methods

  Name Description
Public method Cancel 請勿。此方法不會實作在Microsoft SharePoint Foundation的目前版本。 (Overrides SPDeployment.Cancel().)
Public method CleanUpAutoGeneratedDataFiles 會刪除已用來支援匯出作業的自動產生資料檔案。
Public method Dispose() 版本管理後完成或取消部署作業的資源。 (Inherited from SPDeployment.)
Protected method Dispose(Boolean) (Inherited from SPDeployment.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnCanceled 會引發Canceled事件。 (Inherited from SPDeployment.)
Protected method OnCompleted 會引發Completed事件。 (Inherited from SPDeployment.)
Protected method OnProgressUpdated 會引發ProgressUpdatedevent()。 (Inherited from SPDeployment.)
Protected method OnStarted() 會引發Startedevent()。 (Inherited from SPDeployment.)
Protected method OnStarted(SPDeploymentEventArgs) 會引發Started事件。 (Inherited from SPDeployment.)
Public method Run 起始匯出作業。 (Overrides SPDeployment.Run().)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event Canceled 取消部署作業時所引發的事件。 (Inherited from SPDeployment.)
Public event Completed 完成部署作業時所引發的事件。 (Inherited from SPDeployment.)
Public event Compressing 壓縮輸出檔案匯出作業時所引發的事件。
Public event Error 部署作業遇到錯誤或警告時所引發的事件。 (Inherited from SPDeployment.)
Public event ProgressUpdated 部署作業重新計算目前部署作業的進度時所引發的事件。 (Inherited from SPDeployment.)
Public event Started 部署作業啟動時所引發的事件。 (Inherited from SPDeployment.)

Top

請參閱

參照

SPExport class

Microsoft.SharePoint.Deployment namespace