Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IDocumentManager.CheckOutDocument Method

Puts the document into the checked-out state.

void CheckOutDocument(
IDocument document
);

#### Parameters

document
  The document to be checked out. Cannot be `null`.

#### Remarks

Only one user can check out a document at a time.

#### Exceptions

Exception Type | Condition
--- | ---
PermissionDeniedException | The user does not have permission to check-out the document, or the document is already checked out by another user.
CollaborationException | The method call resulted in an 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 has not yet been inserted or has already been removed.

#### See Also

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