A Sandcastle Documented Class Library

# IDataCubeService Get Method (Guid, Int64)

Gets an entity by its ID and revision number.

Namespace: Dundas.BI.Entities.DataCubes
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    DataCube Get(
    	Guid id,
    	long revision
    )

    Function Get (
    	id As Guid,
    	revision As Long
    ) As DataCube

    DataCube^ Get(
    	Guid id,
    	long long revision
    )

    abstract Get :
            id : Guid *
            revision : int64 -> DataCube

#### Parameters

id
  Type: System
  Guid
  The ID of the entity to get.
revision
  Type: System
  Int64
  The revision of the entity to get. Specify -1 to get the latest revision.

#### Return Value

Type: DataCube
The entity with the specified ID.

#### Implements

IEntityService
T
Get(Guid, Int64)
Exceptions

Exception | Condition
--- | ---
ArgumentException | id is Empty.
ArgumentOutOfRangeException | revision is less than -1.
NotFoundException | The entity with the specified ID does not exist or is currently recycled.
NoPrivilegeException | Caller does not have the Read privilege on the specified entity.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IDataCubeService Interface
Get Overload
Dundas.BI.Entities.DataCubes Namespace