Поделиться через


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

<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPExportObject _
    Inherits SPDeploymentObject

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