Restore Recycle Bin item.

Syntax

Visual Basic (declaration)
Public Function RestoreRecycleBinItem( _ 
ByVal AuthenticationTicket as String, _ ByVal ItemHandler as String, _ ByVal RestorePath as String) as XmlNode

C# (declaration)
public XmlNode RestoreRecycleBinItem( 
string AuthenticationTicket, string ItemHandler, string RestorePath)

Parameters

AuthenticationTicket
    string infoRouter ticket
ItemHandler
    string RecycleBin Item handler. This value returned By GetRecyclebinContent method
RestorePath
    string An infoRouter path where the document or folder to be restored.

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute "true", the document or folder has been restored successfully.
if success attribute "false", the error attribute returns the error description.

Remarks

The caller must have "add" rigth to the restore path.