Compartilhar via


SecureStoreServiceApplicationProxy.SetCredentials Method

NOTE: This API is now obsolete.

Sets the credentials for the current caller for the specified individual target application.

Namespace:  Microsoft.Office.SecureStoreService.Server
Assembly:  Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use the ISecureStore interface to call into the SSS OM")> _
Public Sub SetCredentials ( _
    applicationId As String, _
    credentials As SecureStoreCredentialCollection _
)
'Usage
Dim instance As SecureStoreServiceApplicationProxy
Dim applicationId As String
Dim credentials As SecureStoreCredentialCollection

instance.SetCredentials(applicationId, _
    credentials)
[ObsoleteAttribute("Use the ISecureStore interface to call into the SSS OM")]
public void SetCredentials(
    string applicationId,
    SecureStoreCredentialCollection credentials
)

Parameters

Remarks

Since this method is obsolete, you should invoke it through the ISecureStore interface instead.

See Also

Reference

SecureStoreServiceApplicationProxy Class

SecureStoreServiceApplicationProxy Members

Microsoft.Office.SecureStoreService.Server Namespace