This documentation is archived and is not being maintained.
TeamFoundationServer Constructor (String, ICredentialsProvider)
Visual Studio 2013
Initializes a new TeamFoundationServer object that is associated with the specified URL and credentials provider.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public:
TeamFoundationServer(
String^ url,
ICredentialsProvider^ credentialsProvider
)
Parameters
- url
- Type: System::String
The URL of the server
- credentialsProvider
- Type: Microsoft.TeamFoundation.Client::ICredentialsProvider
The credentials provider to use if the credentials of the current environment fail.
- 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: