This documentation is archived and is not being maintained.
RegistrationUtilities::GetServiceUrlForTool Method (TfsConnection, String)
Visual Studio 2013
Get the ServiceUrl for a specific tool with only one service Url An ArgumentException will be thrown if there is more than one ServiceUrl for this tool instance If no ServiceInstances are returned for this tool name an RegistrationEntryRetrievalException will be thrown
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public: static String^ GetServiceUrlForTool( TfsConnection^ server, String^ toolName )
Parameters
- server
- Type: Microsoft.TeamFoundation.Client::TfsConnection
Team Foundation Server to query from.
- toolName
- Type: System::String
the tool intance name
- 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.
Show: