SPImport members
Supports importing specified content into a SharePoint Foundation site collection using a migration package (.cmp) file in XML format.
The SPImport type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPImport() | Initializes a nonparameterized instance of the SPImport class. | |
SPImport(SPImportSettings) | Initializes an instance of the SPImport class with the desired Microsoft.SharePoint.Deployment.SPImportSettings values passed in. | |
SPImport(Uri, String, String) | Initializes an instance of the SPImport class that specifies the URL of the source web and the location of the content migration package. |
Top
Properties
Name | Description | |
---|---|---|
Settings | Gets or sets import settings on the Microsoft.SharePoint.Deployment.SPImportSettings object. | |
Site | Gets or sets a protected instance of an SPSite object. (Inherited from SPDeployment.) |
Top
Methods
Name | Description | |
---|---|---|
Cancel | Do not use. This method is not implemented in the current version of Microsoft SharePoint Foundation. (Overrides SPDeployment.Cancel().) | |
Dispose() | Releases managed resources upon completing or cancelling the deployment operation. (Inherited from SPDeployment.) | |
Dispose(Boolean) | (Inherited from SPDeployment.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnCanceled | Raises the Canceled event. (Inherited from SPDeployment.) | |
OnCompleted | Raises the Completed event. (Inherited from SPDeployment.) | |
OnProgressUpdated | Raises the ProgressUpdatedevent(). (Inherited from SPDeployment.) | |
OnStarted() | Raises the Startedevent(). (Inherited from SPDeployment.) | |
OnStarted(SPDeploymentEventArgs) | Raises the Started event. (Inherited from SPDeployment.) | |
Run | Lauches the import operation. (Overrides SPDeployment.Run().) | |
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
Canceled | Event that is raised when the deployment operation is cancelled. (Inherited from SPDeployment.) | |
Completed | Event that is raised when the deployment operation is completed. (Inherited from SPDeployment.) | |
Error | Event that is raised when the deployment operation encounters an error or a warning. (Inherited from SPDeployment.) | |
ObjectImported | An event that is raised when the specified object has been successfully imported. | |
ProgressUpdated | Event that is raised when the deployment operation recalculates the current progress of the deployment operation. (Inherited from SPDeployment.) | |
Started | Event that is raised when the deployment operation is started. (Inherited from SPDeployment.) | |
Uncompressing | An event that is raised when the import operation is about to extract files from the content migration (.cmp) file. |
Top