IDataProviderServiceGetProvider Method (Guid, String)

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 (24.3.0.1000)
Syntax
DataProviderInfo GetProvider(
	Guid providerId,
	string gatewayId
)

Parameters

providerId
Type: SystemGuid
The data provider ID.
gatewayId
Type: SystemString
The gateway ID.

Return Value

Type: 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