This documentation is archived and is not being maintained.

TeamFoundationServer.Authenticate Method

Authenticates the connection with the server.

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

public void Authenticate()

Authenticates with the server by using the specified provider to get credentials as required. Authenticate uses the ICredentialsProvider that is specified in the constructor to prompt for credentials if authentication fails.