ISiteRemovePage Method |
Namespace: Ingeniux.CMS
Exception | Condition |
---|---|
InvalidOperationException | When trying to remove Site Root or Recycle Folder; or trying to remove a Page assigned to another User, but doesn't have the right to Assign other's Pages. |
SecurityException | When Operating User doesn't have the right to Delete Pages, or doesn't have full access to the Page to be removed. |
if "page" is null, returns false.
If the Page is not under Recycle Folder, it will be moved to Recycle Folder. If it is already under Recycle Folder, it will be permanently purged.
Two events are fired during execution of this method: BeforePageDelete and AfterPageDelete.