Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- serverUrl
 Type: System.Uri
- requireExactMatch
 Type: System.Boolean
- promptType
 Type: Microsoft.VisualStudio.Services.Common.CredentialPromptType
Return Value
Type: Microsoft.VisualStudio.Services.Common.VssCredentials
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.