TeamFoundationServer.EnsureAuthenticated Method

Authenticates the connection, if it was not previously authenticated.

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

Syntax

‘선언
Public Sub EnsureAuthenticated
public void EnsureAuthenticated()
public:
void EnsureAuthenticated()
member EnsureAuthenticated : unit -> unit 
public function EnsureAuthenticated()

Remarks

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

.NET Framework Security

See Also

Reference

TeamFoundationServer Class

Microsoft.TeamFoundation.Client Namespace