共用方式為


ITeamFoundationConnectionManager.ClearDefaultConnection 方法

使用這個方法會清除快取最後連接的伺服器。 這會導致 Team 總管會顯示為中斷連接。

命名空間:  Microsoft.VisualStudio.Services.Integration
組件:  Microsoft.VisualStudio.Services.Integration (在 Microsoft.VisualStudio.Services.Integration.dll 中)

語法

'宣告
Sub ClearDefaultConnection
void ClearDefaultConnection()

.NET Framework 安全性

請參閱

參考

ITeamFoundationConnectionManager 介面

Microsoft.VisualStudio.Services.Integration 命名空間