Partager via


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