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