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.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property Value
Type: Microsoft.SharePoint.Deployment.SPIncludeDescendantsReturns 0 if no descendants are included;
returns 1 if only content-type descendants are included;
returns 2 if all descendants are included.