TfsConnection.Authenticate 方法
使用指定的認證提供者驗證與 Team Foundation Server 的連接。
命名空間: Microsoft.TeamFoundation.Client
組件: Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)
語法
'宣告
Public Sub Authenticate
public void Authenticate()
備註
This method will use the ICredentialsProvider that is specified in the constructor to prompt for credentials if authentication fails.
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。