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.
Gets the name of the server that is associated with the specified URL.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Shared Function GetServerForUri ( _
url As String _
) As String
public static string GetServerForUri(
string url
)
public:
static String^ GetServerForUri(
String^ url
)
static member GetServerForUri :
url:string -> string
public static function GetServerForUri(
url : String
) : String
Parameters
url
Type: System.StringThe URL of the server of which the name is desired.
Return Value
Type: System.String
The name of the server that is associated with the specified 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.