IDataProviderServiceGetProvider(Guid, String) Method

Returns a data provider for the requested provider ID and gateway ID.

Namespace: Dundas.BI.Data.DataProviders
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
DataProviderInfo GetProvider(
	Guid providerId,
	string gatewayId
)

Parameters

providerId  Guid
The data provider ID.
gatewayId  String
The gateway ID.

Return Value

DataProviderInfo
The requested provider instance.
Exceptions
ExceptionCondition
ArgumentExceptionproviderId is Empty or gatewayId is or empty.
InvalidProviderExceptionThe data provider with specified ID cannot be loaded.
DataProviderLoadExceptionThe gateway with the specified ID is not defined or not running as a cloud instance.
See Also