Partilhar via


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

  • credentials
    Type: ICredentialProvider

    The 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 Class

ConnectionContextHelper Members

Microsoft.PerformancePoint.Scorecards.ServerCommon Namespace