CredentialsCacheManager.StoreWindowsCredentials, méthode
Espace de noms : Microsoft.VisualStudio.Services.Common
Assembly : Microsoft.VisualStudio.Services.Common (dans Microsoft.VisualStudio.Services.Common.dll)
Syntaxe
'Déclaration
Public Function StoreWindowsCredentials ( _
host As String, _
userName As String, _
password As String _
) As Integer
public int StoreWindowsCredentials(
string host,
string userName,
string password
)
Paramètres
- host
Type : System.String
- userName
Type : System.String
- password
Type : System.String
Valeur de retour
Type : System.Int32
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.