ConnectionContextHelper Constructor
Initializes a new instance of the ConnectionContextHelper class.
Namespace: Microsoft.PerformancePoint.Scorecards.ServerCommon
Assembly: Microsoft.PerformancePoint.Scorecards.ServerCommon (in Microsoft.PerformancePoint.Scorecards.ServerCommon.dll)
Syntax
'Declaration
Public Sub New ( _
context As ConnectionContext, _
credentials As ICredentialProvider _
)
'Usage
Dim context As ConnectionContext
Dim credentials As ICredentialProvider
Dim instance As New ConnectionContextHelper(context, _
credentials)
public ConnectionContextHelper(
ConnectionContext context,
ICredentialProvider credentials
)
Parameters
context
Type: Microsoft.PerformancePoint.Scorecards.ConnectionContextThe user context for this instance.
credentials
Type: ICredentialProviderThe provider that specifies information about the impersonation credentials, such as user name and domain.
Remarks
For an example of how to initialize a ConnectionContextHelper instance, see the SecureCredentialProvider class.
See Also
Reference
ConnectionContextHelper Members
Microsoft.PerformancePoint.Scorecards.ServerCommon Namespace