OpenDocuments.DiscardLocalCheckout Method
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)
Parameters
expression
An expression that returns an OpenDocuments Control object.
bstrDocumentLocationRaw
A string that contains the URL of the document.
Return Value
true if the operation to discard the local checkout of the document is successful; otherwise, false.