Partager via


CredentialsCacheManager.StoreCredentials, méthode (String, String, SecureString, String, Dictionary<String, String>)

Espace de noms :  Microsoft.VisualStudio.Services.Common
Assembly :  Microsoft.VisualStudio.Services.Common (dans Microsoft.VisualStudio.Services.Common.dll)

Syntaxe

'Déclaration
Public Function StoreCredentials ( _
    targetName As String, _
    userName As String, _
    password As SecureString, _
    comment As String, _
    attributes As Dictionary(Of String, String) _
) As Integer
public int StoreCredentials(
    string targetName,
    string userName,
    SecureString password,
    string comment,
    Dictionary<string, string> attributes
)

Paramètres

Valeur de retour

Type : System.Int32

Sécurité .NET Framework

Voir aussi

Référence

CredentialsCacheManager Classe

StoreCredentials, surcharge

Microsoft.VisualStudio.Services.Common, espace de noms