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 (8.0.2.1001)
Syntaxvoid Rollback(
Guid id,
long targetRevision
)
Sub Rollback (
id As Guid,
targetRevision As Long
)
void Rollback(
Guid id,
long long targetRevision
)
abstract Rollback :
id : Guid *
targetRevision : int64 -> unit
Parameters
- id
- Type: SystemGuid
The ID of the entity to rollback. - targetRevision
- Type: SystemInt64
The revision number to be rolled back to.
Exceptions| Exception | Condition |
|---|
| ArgumentException | id is Empty. |
| ArgumentOutOfRangeException | targetRevision 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. |
| NoPrivilegeException | The caller does not have check in privilege. |
| InvalidSessionException | The 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