std.RestoreObject

This job restores an object from the trash bin.

1. Input Parameters

Name Type Required Description

sRestoreMethod

STRING

Yes

Restoration method:
SingleRestore = restore only the specified object
RestoreAllEntity = restore subobjects of the specified object

dwObjectID

INT

Yes

ID of the object

dwObjectType

INT

Yes

Type of the object

dwParentID

INT

Yes

ID of the target object to restore into

dwParentType

INT

Yes

Type of the target object

2. Return Value

(INT): 0 = Job successful, otherwise error code.