LocalSecureStoreProvider.SetCredentials Method
Sets the credentials without prompting the user.
Namespace: Microsoft.Office.BusinessData.Infrastructure.SecureStore
Assembly: Microsoft.Office.BusinessData (in Microsoft.Office.BusinessData.dll)
Syntax
'Declaration
Public Sub SetCredentials ( _
appId As String, _
credentials As SecureStoreCredentialCollection _
)
'Usage
Dim instance As LocalSecureStoreProvider
Dim appId As String
Dim credentials As SecureStoreCredentialCollection
instance.SetCredentials(appId, credentials)
public void SetCredentials(
string appId,
SecureStoreCredentialCollection credentials
)
Parameters
- appId
Type: System.String
The target application identifier.
- credentials
Type: Microsoft.BusinessData.Infrastructure.SecureStore.SecureStoreCredentialCollection
The credentials for the target application.
Implements
ILocalSecureStoreProvider.SetCredentials(String, SecureStoreCredentialCollection)
See Also
Reference
LocalSecureStoreProvider Class
LocalSecureStoreProvider Members
Microsoft.Office.BusinessData.Infrastructure.SecureStore Namespace