OpenDocuments.DiscardLocalCheckout Method

Last modified: July 09, 2008

Applies to: SharePoint Foundation 2010

Discards the check out of a document to the client computer and deletes the local draft.

expression.DiscardLocalCheckout(bstrDocumentLocationRaw As String)


An expression that returns an OpenDocuments Control object.


A string that contains the URL of the document.

true if the operation to discard the local checkout of the document is successful; otherwise, false.