Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Public Sub EnsureAuthenticated
public void EnsureAuthenticated()
public:
void EnsureAuthenticated()
member EnsureAuthenticated : unit -> unit
public function EnsureAuthenticated()
Remarks
This method will use the ICredentialsProvider that is 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.