共用方式為


SPDeployment members

Include protected members
Include inherited members

SPExportSPImport類別繼承來源的抽象基底類別。

The SPDeployment type exposes the following members.

Constructors

  Name Description
Protected method SPDeployment 會建立SPDeployment類別的受保護的新執行個體。

Top

Properties

  Name Description
Protected property Site 取得或設定SPSite物件的受保護執行個體。

Top

Methods

  Name Description
Public method Cancel 會取消部署作業
Public method Dispose() 版本管理後完成或取消部署作業的資源。
Protected method Dispose(Boolean)
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事件。
Protected method OnCompleted 會引發Completed事件。
Protected method OnProgressUpdated 會引發ProgressUpdatedevent()
Protected method OnStarted() 會引發Startedevent()
Protected method OnStarted(SPDeploymentEventArgs) 會引發Started事件。
Public method Run 開始部署作業。
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event Canceled 取消部署作業時所引發的事件。
Public event Completed 完成部署作業時所引發的事件。
Public event Error 部署作業遇到錯誤或警告時所引發的事件。
Public event ProgressUpdated 部署作業重新計算目前部署作業的進度時所引發的事件。
Public event Started 部署作業啟動時所引發的事件。

Top

請參閱

參照

SPDeployment class

Microsoft.SharePoint.Deployment namespace