ITeamFoundationConnectionManager.ClearDefaultConnection Method
Use this method to clear the cache of the last connected server. This will cause Team Explorer to show as disconnected.
Namespace: Microsoft.VisualStudio.Services.Integration
Assembly: Microsoft.VisualStudio.Services.Integration (in Microsoft.VisualStudio.Services.Integration.dll)
Syntax
'Declaration
Sub ClearDefaultConnection
void ClearDefaultConnection()
void ClearDefaultConnection()
abstract ClearDefaultConnection : unit -> unit
function ClearDefaultConnection()
.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.