IDataConnectorServiceGet Method (Guid, Int64)

Gets an entity by its ID and revision number.

Namespace:  Dundas.BI.Entities.DataConnectors
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
DataConnector Get(
	Guid id,
	long revision
)

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: DataConnector
The entity with the specified ID.

Implements

IEntityServiceTGet(Guid, Int64)
Exceptions
ExceptionCondition
InvalidProviderExceptionThe data provider cannot be loaded.
ArgumentExceptionid is Empty.
ArgumentOutOfRangeExceptionrevision is less than -1.
NotFoundExceptionThe entity with the specified ID does not exist or is currently recycled.
NoPrivilegeExceptionCaller does not have the Read privilege on the specified entity.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also