MarkLogic XCC/.Net Library

Session.Rollback Method 

Rollback (undo) any pending changes since the last commit or rollback. If no operations are pending, nothing is done. Calling rollback() is only meaningful if AutoCommit is false. New Session objects are created with auto-commit set to true.

[Visual Basic]
Sub Rollback()
[C#]
void Rollback();

See Also

Session Interface | Marklogic.Xcc Namespace