Share via


SecureCredentialProvider constructor

Initializes a new instance of the SecureCredentialProvider class.

Namespace:  Microsoft.PerformancePoint.Scorecards.Server
Assembly:  Microsoft.PerformancePoint.Scorecards.Server (in Microsoft.PerformancePoint.Scorecards.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    targetAppId As String, _
    ctx As ConnectionContext _
)
'Usage
Dim targetAppId As String
Dim ctx As ConnectionContext

Dim instance As New SecureCredentialProvider(targetAppId, _
    ctx)
public SecureCredentialProvider(
    string targetAppId,
    ConnectionContext ctx
)

Parameters

Remarks

When using the Unattended Service Account context, specify the ConnectionContext.ConnectAsSharedUser field for the ctx parameter. When using the Secure Store account context, specify the ConnectionContext.SecureStoreCredentials field for the ctx parameter.

See also

Reference

SecureCredentialProvider class

SecureCredentialProvider members

Microsoft.PerformancePoint.Scorecards.Server namespace