This topic has not yet been rated - Rate this topic

SPExportSettings.ExcludeDependencies Property

Specifies whether to exclude dependencies from the export package when exporting objects of type SPFile or SPListItem.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public bool ExcludeDependencies { get; set; }

Property Value

Type: System.Boolean
true if dependencies are excluded from the export package; otherwise, returns false. The default value is false.

Generally, you should always export dependencies to avoid breaking objects in the export target.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ