Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IDocumentManager.UndoDocumentCheckout Method

Puts a document that is currently in the checked-out state into the non-checked-out state.

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 is 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