This documentation is archived and is not being maintained.

TeamFoundationServer Constructor (Uri, ICredentials)

Initializes a new TeamFoundationServer object that is associated with the specified uniform resource identifier (URI) and credentials.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public:
TeamFoundationServer(
	Uri^ uri, 
	ICredentials^ credentials
)

Parameters

uri
Type: System::Uri

The URI of the server.

credentials
Type: System.Net::ICredentials

The credentials that are used to authenticate the user.

Show: