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)
Syntax
'Declaration
Public Shared Sub SetAutoReconnect ( _
url As String, _
autoReconnect As Boolean _
)
public static void SetAutoReconnect(
string url,
bool autoReconnect
)
public:
static void SetAutoReconnect(
String^ url,
bool autoReconnect
)
static member SetAutoReconnect :
url:string *
autoReconnect:bool -> unit
public static function SetAutoReconnect(
url : String,
autoReconnect : boolean
)
Parameters
url
Type: System.StringThe URL of the server.
autoReconnect
Type: System.BooleanThe value of the AutoReconnect flag to be set.
.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.