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.GuidGlobal unique identifier (guid) that identifies the object being exported.
objType
Type: Microsoft.SharePoint.Deployment.SPDeploymentObjectTypeSharePoint type of the object being exported.
parentObjId
Type: System.GuidGlobal unique identifier (guid) that identifies the parent object of the object being exported.
includeDescendants
Type: Microsoft.SharePoint.Deployment.SPIncludeDescendantsEnumeration value that specifies whether to include no descendants (0), all descendants (1), or only descendants that represent content types (2).