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
targetAppId
Type: System.StringThe target application identifier for the data source if using the ConnectionContext.SecureStoreCredentials context; otherwise a null reference (Nothing in Visual Basic).
ctx
Type: Microsoft.PerformancePoint.Scorecards.ConnectionContextThe user connection context that the data source provider should connect as.
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