SPExportObject Constructor (Guid, SPDeploymentObjectType, Guid, Boolean)
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, _
excludeChildren As Boolean _
)
'Usage
Dim objId As Guid
Dim objType As SPDeploymentObjectType
Dim parentObjId As Guid
Dim excludeChildren As Boolean
Dim instance As New SPExportObject(objId, objType, _
parentObjId, excludeChildren)
public SPExportObject(
Guid objId,
SPDeploymentObjectType objType,
Guid parentObjId,
bool excludeChildren
)
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.
excludeChildren
Type: System.BooleanSpecifies whether to exclude child objects of the export object; true if children are excluded. The default is false.