Share via


SPDeployment members

Abstract base class from which the SPExport and SPImport classes inherit.

The SPDeployment type exposes the following members.

Constructors

  Name Description
Protected method SPDeployment Creates a new protected instance of the SPDeployment class.

Top

Properties

  Name Description
Protected property Site Gets or sets a protected instance of an SPSite object.

Top

Methods

  Name Description
Public method Cancel Cancels the deployment operation
Public method Dispose() Releases managed resources upon completing or cancelling the deployment operation.
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 Raises the Canceled event.
Protected method OnCompleted Raises the Completed event.
Protected method OnProgressUpdated Raises the ProgressUpdatedevent().
Protected method OnStarted() Raises the Startedevent().
Protected method OnStarted(SPDeploymentEventArgs) Raises the Started event.
Public method Run Starts the deployment operation.
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event Canceled Event that is raised when the deployment operation is cancelled.
Public event Completed Event that is raised when the deployment operation is completed.
Public event Error Event that is raised when the deployment operation encounters an error or a warning.
Public event ProgressUpdated Event that is raised when the deployment operation recalculates the current progress of the deployment operation.
Public event Started Event that is raised when the deployment operation is started.

Top

See also

Reference

SPDeployment class

Microsoft.SharePoint.Deployment namespace