RegisteredServers.GetOffline Method
Gets the Offline status of the server that is specified by the URL.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
声明
Public Shared Function GetOffline ( _
url As String _
) As Boolean
public static bool GetOffline(
string url
)
public:
static bool GetOffline(
String^ url
)
static member GetOffline :
url:string -> bool
public static function GetOffline(
url : String
) : boolean
Parameters
- url
Type: System.String
Return Value
Type: System.Boolean
The value of the Offline flag of the server that is specified by the URL.
.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.