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 Property IgnoreWebParts As Boolean
Dim instance As SPImportSettings
Dim value As Boolean

value = instance.IgnoreWebParts

instance.IgnoreWebParts = value
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.

See also


SPImportSettings class

SPImportSettings members

Microsoft.SharePoint.Deployment namespace