TeamFoundationLocationService.FindServiceLocation Method
Finds the location of the service that has the provided service type and tool ID for the provided access mapping. In order for this call to succeed, only one service that has the provided service type and tool ID can exist.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function FindServiceLocation ( _
requestContext As TeamFoundationRequestContext, _
serviceType As String, _
toolId As String, _
accessMapping As AccessMapping _
) As String
public string FindServiceLocation(
TeamFoundationRequestContext requestContext,
string serviceType,
string toolId,
AccessMapping accessMapping
)
public:
String^ FindServiceLocation(
TeamFoundationRequestContext^ requestContext,
String^ serviceType,
String^ toolId,
AccessMapping^ accessMapping
)
member FindServiceLocation :
requestContext:TeamFoundationRequestContext *
serviceType:string *
toolId:string *
accessMapping:AccessMapping -> string
public function FindServiceLocation(
requestContext : TeamFoundationRequestContext,
serviceType : String,
toolId : String,
accessMapping : AccessMapping
) : String
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context this call is associated with.
serviceType
Type: System.StringThe service type (or service interface) being requested.
toolId
Type: System.StringThe tool ID for the service.
accessMapping
Type: Microsoft.TeamFoundation.Framework.Server.AccessMappingAccessMapping to retrieve the location from.
Return Value
Type: System.String
The location for the service.
.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.