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

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
Public Function StoreCredentials ( _
    featureRegistryKeyword As String, _
    uri As Uri, _
    userName As String, _
    password As String, _
    type As CachedCredentialsType, _
    nonInteractive As Boolean _
) As Integer
public int StoreCredentials(
    string featureRegistryKeyword,
    Uri uri,
    string userName,
    string password,
    CachedCredentialsType type,
    bool nonInteractive
)
public:
int StoreCredentials(
    String^ featureRegistryKeyword, 
    Uri^ uri, 
    String^ userName, 
    String^ password, 
    CachedCredentialsType type, 
    bool nonInteractive
)
member StoreCredentials : 
        featureRegistryKeyword:string * 
        uri:Uri * 
        userName:string * 
        password:string * 
        type:CachedCredentialsType * 
        nonInteractive:bool -> int
public function StoreCredentials(
    featureRegistryKeyword : String, 
    uri : Uri, 
    userName : String, 
    password : String, 
    type : CachedCredentialsType, 
    nonInteractive : boolean
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

CredentialsCacheManager Class

StoreCredentials Overload

Microsoft.VisualStudio.Services.Common Namespace