A Sandcastle Documented Class Library

# IFileSystemService Rollback 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void 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: System
  Guid
  The ID of the entity to rollback.
targetRevision
  Type: System
  Int64
  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

#### Reference

IFileSystemService Interface
Dundas.BI.FileSystem Namespace