Compartir a través de


CredentialsCacheManager.StoreCredentials (Método) (Uri, String, SecureString, CachedCredentialsType, Boolean, Dictionary<String, String>)

Espacio de nombres:  Microsoft.TeamFoundation.Client
Ensamblado:  Microsoft.TeamFoundation.Client (en Microsoft.TeamFoundation.Client.dll)

Sintaxis

'Declaración
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
)

Parámetros

Valor devuelto

Tipo: System.Int32

Seguridad de .NET Framework

Vea también

Referencia

CredentialsCacheManager Clase

StoreCredentials (Sobrecarga)

Microsoft.TeamFoundation.Client (Espacio de nombres)