Delen via


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

See Also

Reference

ITeamFoundationConnectionManager Interface

Microsoft.VisualStudio.Services.Integration Namespace