Share via


VssCredentials.LoadCachedCredentials Method (Uri, Boolean, CredentialPromptType)

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

Syntax

'Declaration
Public Shared Function LoadCachedCredentials ( _
    serverUrl As Uri, _
    requireExactMatch As Boolean, _
    promptType As CredentialPromptType _
) As VssCredentials
public static VssCredentials LoadCachedCredentials(
    Uri serverUrl,
    bool requireExactMatch,
    CredentialPromptType promptType
)
public:
static VssCredentials^ LoadCachedCredentials(
    Uri^ serverUrl, 
    bool requireExactMatch, 
    CredentialPromptType promptType
)
static member LoadCachedCredentials : 
        serverUrl:Uri * 
        requireExactMatch:bool * 
        promptType:CredentialPromptType -> VssCredentials
public static function LoadCachedCredentials(
    serverUrl : Uri, 
    requireExactMatch : boolean, 
    promptType : CredentialPromptType
) : VssCredentials

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.Common.VssCredentials

.NET Framework Security

See Also

Reference

VssCredentials Class

LoadCachedCredentials Overload

Microsoft.VisualStudio.Services.Common Namespace