Partager via


Microsoft.SharePoint.Deployment Namespace

Provides types and members for importing and exporting content between Windows SharePoint Services Web sites.

Classes

  Class Description
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 Windows SharePoint Services 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 Windows SharePoint Services site collection using a migration package (.cmp) file in XML format.
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.

Enumerations

  Enumeration Description
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 Status property.
SPDeploymentObjectType Enumerates the valid data types for SharePoint deployment objects.
SPDeploymentStatus Enumerates the constant values representing the status for the Status property.
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 user and group information to include during an export or import operation.
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.