Share via


SPExportObject.IncludeDescendants property

Gets or sets a SPIncludeDescendants enumeration integer value that specifies whether to include all descendants, no descendants, or only descendants that represent content types.

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

Syntax

'Declaration
Public Property IncludeDescendants As SPIncludeDescendants
    Get
    Set
'Usage
Dim instance As SPExportObject
Dim value As SPIncludeDescendants

value = instance.IncludeDescendants

instance.IncludeDescendants = value
public SPIncludeDescendants IncludeDescendants { get; set; }

Property value

Type: Microsoft.SharePoint.Deployment.SPIncludeDescendants
Returns 0 if no descendants are included;
returns 1 if only content-type descendants are included;
returns 2 if all descendants are included.

See also

Reference

SPExportObject class

SPExportObject members

Microsoft.SharePoint.Deployment namespace