Share via


SPExportObject constructor (Guid, SPDeploymentObjectType, Guid, SPIncludeDescendants)

Instantiates a new instance of the SPExportObject class that provides identifiers ob both the object and its parent object, provides the object type, and specifies whether to exclude child objects.

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

Syntax

'Declaration
Public Sub New ( _
    objId As Guid, _
    objType As SPDeploymentObjectType, _
    parentObjId As Guid, _
    includeDescendants As SPIncludeDescendants _
)
'Usage
Dim objId As Guid
Dim objType As SPDeploymentObjectType
Dim parentObjId As Guid
Dim includeDescendants As SPIncludeDescendants

Dim instance As New SPExportObject(objId, objType, _
    parentObjId, includeDescendants)
public SPExportObject(
    Guid objId,
    SPDeploymentObjectType objType,
    Guid parentObjId,
    SPIncludeDescendants includeDescendants
)

Parameters

  • objId
    Type: System.Guid

    Global unique identifier (guid) that identifies the object being exported.

  • parentObjId
    Type: System.Guid

    Global unique identifier (guid) that identifies the parent object of the object being exported.

See also

Reference

SPExportObject class

SPExportObject members

SPExportObject overload

Microsoft.SharePoint.Deployment namespace