Share via


SPImportSettings Members

Include Protected Members
Include Inherited Members

Contains the settings that are used for importing content from a content migration package.

The SPImportSettings type exposes the following members.

Constructors

  Name Description
Public method SPImportSettings() Initializes a new instance of the SPImportSettings class.
Public method SPImportSettings(Uri, String) Initializes a new instance of the SPImportSettings class, including the URL for the destination Web site and the location of the content migration package.
Public method SPImportSettings(Uri, String, String) Initializes a new instance of the SPImportSettings class, including the URL for the destination Web site, the directory containing the content migration package, and the base file name of the content migration package.

Top

Properties

  Name Description
Public property ActivateSolutions Gets or sets a Boolean value to specify whether to activate user solutions upon conclusion of the import operation.
Public property BaseFileName Gets or sets the base file name used when creating content migration packages. (Inherited from SPDeploymentSettings.)
Public property CommandLineVerbose Gets or sets a value that determines whether output is written to a command line console. (Inherited from SPDeploymentSettings.)
Public property FileCompression Gets or sets a Boolean value that specifies whether the content migration package is compressed using the CAB compression protocol. (Inherited from SPDeploymentSettings.)
Public property FileLocation Gets or sets the directory location where content migration packages are placed. (Inherited from SPDeploymentSettings.)
Public property HaltOnNonfatalError Gets or sets a value indicating whether to stop the import or export for a non-fatal error. (Inherited from SPDeploymentSettings.)
Public property HaltOnWarning Gets or sets a value indicating whether to stop the import or export operation if a warning occurs. (Inherited from SPDeploymentSettings.)
Public property IgnoreWebParts Gets or sets a value that specifies whether the import operation ignores Web Parts associated with a file. Set to true to disable importing Web Parts; the default value is false.
Public property IncludeSecurity Gets or sets a value that determines whether site security groups and the group membership information is exported or imported. (Inherited from SPDeploymentSettings.)
Public property IncludeUserCustomAction Gets or sets a value from the SPIncludeUserCustomAction enumeration that specifies whether to include custom user actions with the import settings.
Public property LogFilePath Gets or sets a value specifying the full path to the content migration log file. (Inherited from SPDeploymentSettings.)
Public property RetainObjectIdentity Gets or sets a value that specifies whether identifier GUIDs are retained when the content is imported into the destination location.
Public property SiteUrl Gets or sets the absolute URL of a source or destination Web site. (Inherited from SPDeploymentSettings.)
Public property SuppressAfterEvents Gets or sets a Boolean value that directs whether to disable the firing of After events when creating or modifying files or list items.
Public property UpdateVersions Gets or sets a value indicating how versioning is managed in the destination location.
Public property UserInfoDateTime Gets or sets a value that specifies the level of user information that is retained when content is imported.
Public property WebId Gets or sets the GUID for the destination Web site.
Public property WebUrl Gets or sets the URL of the destination Web site.

Top

Methods

  Name Description
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.)
Public method ToString (Inherited from Object.)
Public method Validate Checks deployment settings to make sure that they are valid and they don't conflict with each other. (Inherited from SPDeploymentSettings.)

Top

See Also

Reference

SPImportSettings Class

Microsoft.SharePoint.Deployment Namespace