Share via


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)

Syntax

Public Property ExcludeDependencies As Boolean
    Get
    Set

Dim instance As SPExportSettings
Dim value As Boolean

value = instance.ExcludeDependencies

instance.ExcludeDependencies = value
public bool ExcludeDependencies { get; set; }

Property Value

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

Remarks

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

See Also

Reference

SPExportSettings Class

SPExportSettings Members

Microsoft.SharePoint.Deployment Namespace