SPExportObject.ExcludeChildren property

Gets or sets a Boolean value that specifies whether to include or exclude children of the specified export object.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property ExcludeChildren As Boolean
    Get
    Set
'Usage
Dim instance As SPExportObject
Dim value As Boolean

value = instance.ExcludeChildren

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

Property value

Type: System.Boolean
true to exclude the children of the object from the export; otherwise false. The default is false.

Remarks

This property only applies to SharePoint object types that serve as containers, for example, SPWeb and SPList objects.

See also

Reference

SPExportObject class

SPExportObject members

Microsoft.SharePoint.Deployment namespace