Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
- url
Type: System.String
offline
Type: System.BooleanThe 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.