Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TfsConnection.EnsureAuthenticated Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Authenticates the connection to Team Foundation Server if it has not been previously authenticated.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public void EnsureAuthenticated()

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.