Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.