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

'Declaration
Public Property ExcludeDependencies As Boolean
    Get
    Set
'Usage
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 dependencies 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