This documentation is archived and is not being maintained.

RegisteredServers::SetOffline Method

Sets the Offline status of the server that is associated to the specified URL.

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

public:
static void SetOffline(
	String^ url, 
	bool offline
)

Parameters

url
Type: System::String
offline
Type: System::Boolean

The value of the Offline flag to set.

Show: