This topic has not yet been rated - Rate this topic

SPExportObject Class

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

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

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPExportObject : SPDeploymentObject

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ