SPImportSettings.IgnoreWebParts property

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.