CredentialsCacheManager.StoreCredentials, méthode (String, 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 ( _
    featureRegistryKeyword As String, _
    uri As Uri, _
    userName As String, _
    password As String, _
    type As CachedCredentialsType, _
    nonInteractive As Boolean _
) As Integer
public int StoreCredentials(
    string featureRegistryKeyword,
    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