IDataSourceCredentialServiceCreateContext Method

Creates a credential context for the specified data source credential provider, using the specified set of credential values.

Namespace: Dundas.BI.Data.DataProviders.CredentialProviders
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
CredentialContext CreateContext(
	Guid providerId,
	IDictionary<Guid, Object> credentialValues
)

Parameters

providerId  Guid
The ID of the credential provider.
credentialValues  IDictionaryGuid, Object
The credential values to use for the duration of the context.

Return Value

CredentialContext
The created credential context.
Exceptions
ExceptionCondition
ArgumentExceptionproviderId is Empty.
NotFoundExceptionThe credential provider with the specified ID was not found.
See Also