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 (24.4.0.1000)
Syntax
CredentialContext CreateContext(
	Guid providerId,
	IDictionary<Guid, Object> credentialValues
)

Parameters

providerId
Type: SystemGuid
The ID of the credential provider.
credentialValues
Type: System.Collections.GenericIDictionaryGuid, Object
The credential values to use for the duration of the context.

Return Value

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