AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IDocumentManager.UndoDocumentCheckout Method

Puts a document that is currently in the checked-out state into the non-checked-out state (reverses the current check-out).

void UndoDocumentCheckout(
IDocument document
);

#### Parameters

document
  The document whose check-out is being undone; cannot be `null`.

#### Exceptions

Exception Type | Condition
--- | ---
PermissionDeniedException | The user does not have permission to perform this operation, or the document is checked out to a different user.
CollaborationException | The method call resulted in any error or the user does not have access to the document.
SoapException | There was a communication problem during the execution of the remote method call.
InvalidOperationException | The document is not checked out, has not yet been inserted, or has already been removed.

#### See Also

IDocumentManager Interface | Plumtree.Remote.PRC.Collaboration.Document Namespace