RestoreDeletedObject |
Scroll |
Restores a document or case from the recycle bin.
Namespace: Therefore.API
Visual Basic Public Overridable Function RestoreDeletedObject ( _ objectID As Integer, _ objectType As TheObjectType, _ restoreBelongsTo As Boolean, _ restoreRelated As Boolean, _ indexData As ITheIndexData _ ) As Void C# public virtual void RestoreDeletedObject ( int objectID, TheObjectType objectType, bool restoreBelongsTo, bool restoreRelated, ITheIndexData indexData )
Parameters objectID The ID of the object. Corresponding to the objectType the document or case number.
objectType Valid values are TheObjectType.DocumentObject and TheObjectType.CaseObject
restoreBelongsTo If true and the object is a document that belongs to a case, the case will be restored as well if it has been deleted. Corresponds to the first checkbox in the recycle bin dialog in Navigator.
restoreRelated If true and the object is a case, all documents belonnging to the case will be restored as well. Corresponds to the second checkbox in the recycle bin dialog in Navigator.
indexData Index data for updating the document. Can be null. If left null the original index data is used.
|
|
|
Requires Connection You must be connected to the Thereforeā¢ Server when calling this method. |