Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Authenticates with the server.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub Authenticate
'Usage
Dim instance As TeamFoundationServer
instance.Authenticate()
public void Authenticate()
public:
void Authenticate()
public function Authenticate()
Remarks
Authenticates with the server, by using the specified provider to get credentials as required. Authenticate uses the ICredentialsProvider specified in the constructor to prompt for credentials if authentication fails.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.