IFileSystemServiceRollback Method

Rollback the entity with the specified ID to a previous revision.

Namespace: Dundas.BI.FileSystem
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
void Rollback(
	Guid id,
	long targetRevision
)

Parameters

id  Guid
The ID of the entity to rollback.
targetRevision  Int64
The revision number to be rolled back to.
Exceptions
ExceptionCondition
ArgumentExceptionid is Empty.
ArgumentOutOfRangeExceptiontargetRevision is less than zero.
NotFoundException The entity with the specified ID does not exist; -or- The specified revision of the entity does not exist.
InvalidOperationException

The entity is not checked out to the caller.

-or-

The entity is a child object.

-or-

targetRevision is the current revision of the entry.

NoPrivilegeExceptionThe caller does not have check in privilege.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
This operation creates a new revision of the entity which is identical to the revision being rolled back to. When successful, the entity will no longer be checked out to the caller.
See Also