Partager via


CredentialsCacheManager.StoreCredentials, méthode (Uri, String, String, CachedCredentialsType, Boolean)

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

Syntaxe

'Déclaration
Public Function StoreCredentials ( _
    uri As Uri, _
    userName As String, _
    password As String, _
    type As CachedCredentialsType, _
    nonInteractive As Boolean _
) As Integer
public int StoreCredentials(
    Uri uri,
    string userName,
    string password,
    CachedCredentialsType type,
    bool nonInteractive
)

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