This documentation is archived and is not being maintained.
TfsClientCredentials::LoadCachedCredentials Method (Uri, Boolean, Boolean)
Visual Studio 2013
Loads stored credentials for the specified server if found. If no credentials are found in the windows credential store for the specified server and options then default credentials are returned.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public: static TfsClientCredentials^ LoadCachedCredentials( Uri^ serverUrl, bool requireExactMatch, bool allowInteractive )
Parameters
- serverUrl
- Type: System::Uri
The server location
- requireExactMatch
- Type: System::Boolean
A value indicating whether an exact or partial match of the server is required
- allowInteractive
- Type: System::Boolean
A value indicating whether the credentials may support interactivity
Return Value
Type: Microsoft.TeamFoundation.Client::TfsClientCredentialsA credentials object populated with stored credentials for the server if found
- 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.
Show: