ITimeDimensionServiceGet Method (Guid, Int64) |
Gets an entity by its ID and revision number.
Namespace:
Dundas.BI.Entities.TimeDimensions
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
SyntaxTimeDimension Get(
Guid id,
long revision
)
Function Get (
id As Guid,
revision As Long
) As TimeDimension
TimeDimension^ Get(
Guid id,
long long revision
)
abstract Get :
id : Guid *
revision : int64 -> TimeDimension
Parameters
- id
- Type: SystemGuid
The ID of the entity to get. - revision
- Type: SystemInt64
The revision of the entity to get. Specify -1 to get the latest revision.
Return Value
Type:
TimeDimensionThe entity with the specified ID.
Implements
IEntityServiceTGet(Guid, Int64)
Exceptions| Exception | Condition |
|---|
| InvalidProviderException | The time dimension provider cannot be loaded. |
| 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