This documentation is archived and is not being maintained.

SPImportSettings.IgnoreWebParts Property

Windows SharePoint Services 3

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.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool IgnoreWebParts { get; set; }

Property Value

Type: System.Boolean
true if importing Web parts for a file is disabled; otherwise, returns false.
The default value is false.

This property is used primarily by the CMS Variations feature.

Show: