SPExportObject class

Provides information about specific objects selected for export, and provides methods to direct how they are exported to the content migration package.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Deployment.SPDeploymentObject
    Microsoft.SharePoint.Deployment.SPExportObject

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

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPExportObject _
    Inherits SPDeploymentObject
'Usage
Dim instance As SPExportObject
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPExportObject : SPDeploymentObject

Remarks

By default, SPExportObject takes all of its dependencies and its child objects.

You can counteract its taking all of its dependencies by setting exportSetting.FollowDependencyLinks == false.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPExportObject members

Microsoft.SharePoint.Deployment namespace

SPExportObjectCollection

SPExportSettings