Condividi tramite


Metodo CredentialsCacheManager.StoreCredentials (Uri, String, SecureString, CachedCredentialsType, Boolean, Dictionary<String, String>)

Spazio dei nomi:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Sintassi

'Dichiarazione
Public Function StoreCredentials ( _
    uri As Uri, _
    userName As String, _
    password As SecureString, _
    type As CachedCredentialsType, _
    nonInteractive As Boolean, _
    additionalAttributes As Dictionary(Of String, String) _
) As Integer
public int StoreCredentials(
    Uri uri,
    string userName,
    SecureString password,
    CachedCredentialsType type,
    bool nonInteractive,
    Dictionary<string, string> additionalAttributes
)

Parametri

Valore restituito

Tipo: System.Int32

Sicurezza di .NET Framework

Vedere anche

Riferimenti

CredentialsCacheManager Classe

Overload StoreCredentials

Spazio dei nomi Microsoft.TeamFoundation.Client