TeamFoundationServer Constructor (Uri, ICredentialsProvider)

Initializes a new TeamFoundationServer object that is associated with the specified URI and credentials provider.

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

public TeamFoundationServer(
	Uri uri,
	ICredentialsProvider credentialsProvider
)

Parameters

uri
Type: System.Uri

The URI of the server.

credentialsProvider
Type: Microsoft.TeamFoundation.Client.ICredentialsProvider

The credentials provider to use if the credentials of the current environment fail.

Show: