TfsConnection.Authenticate Method

Authenticates the connection to Team Foundation Server by using the specified credentials provider.

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

Syntax

'宣言
Public Sub Authenticate
public void Authenticate()
public:
void Authenticate()
member Authenticate : unit -> unit 
public function Authenticate()

Remarks

This method will use the ICredentialsProvider that is specified in the constructor to prompt for credentials if authentication fails.

.NET Framework Security

See Also

Reference

TfsConnection Class

Microsoft.TeamFoundation.Client Namespace