2 minutes to read
In this article
Provides types and members for performing content export/import operations between SharePoint Foundation site collections. These types support deployment scenarios as well as content migration scenarios.
CommonInfo This class is for internal use only.
SPDeployment Abstract base class from which the
SPExport and SPImport classes inherit.
SPDeploymentErrorEventArgs Encapsulates data for error events that occur during the deployment operation.
SPDeploymentEventArgs Encapsulates event data for the specified deployment operation.
SPDeploymentObject Serves as the base class for the
SPExportObject and SPImportObject classes.
SPDeploymentSettings Represents the base class for the collection of settings used for importing and exporting content between Windows SharePoint Services Web sites.
SPExport Supports export of specified content from a source SharePoint Foundation site collection to a CAB file (with .cmp file extension) in XML format.
SPExportObject Provides information about specific objects selected for export, and provides methods to direct how they are exported to the content migration package.
SPExportObjectCollection Provides methods and properties to maintain a collection of export objects (SPExportObject instances) for exporting to the content migration package. The collection specifies the scope of the export operation.
SPExportSettings Contains the settings that are used for exporting content to a content migration package.
SPImport Supports importing specified content into a SharePoint Foundation site collection using a migration package (.cmp) file in XML format.
SPImportContext Detects if the event or feature activation of the code that calls this class is a part of the import context.
SPImportObject Encapsulates information about deployment objects that are selected for import.
SPImportObjectCollection Maintains a listing of
SPImportObject instances in the collection.
SPImportSettings Contains the settings that are used for importing content from a content migration package.
SPObjectImportedEventArgs Encapsulates event data for the import operation.
MetaInfoAccess Provides the level of access that is allowed to the metadictionary that stores metainfo for specified files and folders.
MetaInfoValueType Allows you to specify the data type for values in the metadata dictionary.
SPDeploymentErrorType Enumerates the constant values that represent the error type for the
SPDeploymentObjectType Enumerates the valid data types for SharePoint deployment objects.
SPDeploymentStatus Enumerates the constant values representing the status for the
SPExportMethodType Specifies whether an export operation is full or incremental.
SPImportUserInfoDateTimeOption Specifies the level of user information that is retained when content is imported.
SPIncludeDescendants Specifies the scope of descendants that are exported to the content migration package (.cmp) file, or that no descendants are exported.
SPIncludeSecurity Contains values that describe the level of user and group security data to include during an export or import operation.
SPIncludeUserCustomAction Enumeration that allows you to specify whether to include custom user actions with import settings.
SPIncludeVersions Contains values that describe the versions to include in your export package.
SPUpdateVersions Specifies how the import operation handles existing files when importing an updated version.
Packaging and Deployment in SharePoint Foundation