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
'Декларация
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
- url
Type: System.String
- offline
Type: System.Boolean
The value of the Offline flag to 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.