This documentation is archived and is not being maintained.

RegisteredServers::SetAutoReconnect Method

Sets the AutoReconnect status for the server that is associated with the specified URL.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public:
static void SetAutoReconnect(
	String^ url, 
	bool autoReconnect
)

Parameters

url
Type: System::String

The URL of the server.

autoReconnect
Type: System::Boolean

The value of the AutoReconnect flag to be set.

Show: