Share via


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)

Syntax

'Declaration
Public Shared Sub SetOffline ( _
    url As String, _
    offline As Boolean _
)
public static void SetOffline(
    string url,
    bool offline
)
public:
static void SetOffline(
    String^ url, 
    bool offline
)
static member SetOffline : 
        url:string * 
        offline:bool -> unit
public static function SetOffline(
    url : String, 
    offline : boolean
)

Parameters

.NET Framework Security

See Also

Reference

RegisteredServers Class

Microsoft.TeamFoundation.Client Namespace