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)
Syntax
'Declaration
Public Property IgnoreWebParts As Boolean
Get
Set
'Usage
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.
Remarks
This property is used primarily by the CMS Variations feature.