Condividi tramite


Metodo CredentialsCacheManager.StoreCredentials (Uri, String, String, CachedCredentialsType, Boolean)

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 String, _
    type As CachedCredentialsType, _
    nonInteractive As Boolean _
) As Integer
public int StoreCredentials(
    Uri uri,
    string userName,
    string password,
    CachedCredentialsType type,
    bool nonInteractive
)

Parametri

Valore restituito

Tipo: System.Int32

Sicurezza di .NET Framework

Vedere anche

Riferimenti

CredentialsCacheManager Classe

Overload StoreCredentials

Spazio dei nomi Microsoft.TeamFoundation.Client