Share via


SPExport members

Supports export of specified content from a source SharePoint Foundation site collection to a CAB file (with .cmp file extension) in XML format.

The SPExport type exposes the following members.

Constructors

  Name Description
Public method SPExport() Initializes a nonparameterized instance of the SPExport class.
Public method SPExport(SPExportSettings) Initializes an instance of the SPExport class with the desired Microsoft.SharePoint.Deployment.SPExportSettings values passed in.
Public method SPExport(Uri, String) Initializes an instance of the SPExport class that specifies the URL of the source web and the location of the content migration package.
Public method SPExport(Uri, String, String) Initializes an instance of the SPExport class that specifies the URL of the source web, the location of the content migration package, and the base file name for the content migration package.

Top

Properties

  Name Description
Public property Settings Gets or sets export settings on the Microsoft.SharePoint.Deployment.SPExportSettings object.
Protected property Site Gets or sets a protected instance of an SPSite object. (Inherited from SPDeployment.)

Top

Methods

  Name Description
Public method Cancel Do not use. This method is not implemented in the current version of Microsoft SharePoint Foundation. (Overrides SPDeployment.Cancel().)
Public method CleanUpAutoGeneratedDataFiles Deletes autogenerated data files that were used to support the export operation.
Public method Dispose() Releases managed resources upon completing or cancelling the deployment operation. (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 Raises the Canceled event. (Inherited from SPDeployment.)
Protected method OnCompleted Raises the Completed event. (Inherited from SPDeployment.)
Protected method OnProgressUpdated Raises the ProgressUpdatedevent(). (Inherited from SPDeployment.)
Protected method OnStarted() Raises the Startedevent(). (Inherited from SPDeployment.)
Protected method OnStarted(SPDeploymentEventArgs) Raises the Started event. (Inherited from SPDeployment.)
Public method Run Initiates the export operation. (Overrides SPDeployment.Run().)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event Canceled Event that is raised when the deployment operation is cancelled. (Inherited from SPDeployment.)
Public event Completed Event that is raised when the deployment operation is completed. (Inherited from SPDeployment.)
Public event Compressing An event that is raised when the export operation is about to compress output files.
Public event Error Event that is raised when the deployment operation encounters an error or a warning. (Inherited from SPDeployment.)
Public event ProgressUpdated Event that is raised when the deployment operation recalculates the current progress of the deployment operation. (Inherited from SPDeployment.)
Public event Started Event that is raised when the deployment operation is started. (Inherited from SPDeployment.)

Top

See also

Reference

SPExport class

Microsoft.SharePoint.Deployment namespace