Click or drag to resize

IContentItemRollback Method


Reverts a page's content to that of its latest previous Version.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
void Rollback()
Remarks

If the page was never checked in before, an error will be thrown.

This method can be called on both checked-in and checked-out pages. Either way, after executing the method, the page will in the checked in state.

Two events are fired during execution of this method: "BeforePageRollback" and "AfterPageRollback"

See Also