Share via


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

  • serviceType
    Type: System.String

    The service type (or service interface) being requested.

Return Value

Type: System.String
The location for the service.

.NET Framework Security

See Also

Reference

TeamFoundationLocationService Class

Microsoft.TeamFoundation.Framework.Server Namespace