Share via


ITeamFoundationLocationService.FindServiceDefinitionsByToolId Method

Finds the service definitions for all of the available services for the specified tool id. If no services exist for this tool id, an empty enumeration will be returned.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Function FindServiceDefinitionsByToolId ( _
    requestContext As TeamFoundationRequestContext, _
    toolId As String _
) As IEnumerable(Of ServiceDefinition)
IEnumerable<ServiceDefinition> FindServiceDefinitionsByToolId(
    TeamFoundationRequestContext requestContext,
    string toolId
)
IEnumerable<ServiceDefinition^>^ FindServiceDefinitionsByToolId(
    TeamFoundationRequestContext^ requestContext, 
    String^ toolId
)
abstract FindServiceDefinitionsByToolId : 
        requestContext:TeamFoundationRequestContext * 
        toolId:string -> IEnumerable<ServiceDefinition> 
function FindServiceDefinitionsByToolId(
    requestContext : TeamFoundationRequestContext, 
    toolId : String
) : IEnumerable<ServiceDefinition>

Parameters

  • toolId
    Type: System.String

    The case-insensitive tool id whose services we are looking for. If this is the empty string or null, all services with a tool id will be returned.

Return Value

Type: System.Collections.Generic.IEnumerable<ServiceDefinition>
Service definitions for all of the existing services that are of the supplied tool id. If no services of this type exist, an empty enumeration will be returned

.NET Framework Security

See Also

Reference

ITeamFoundationLocationService Interface

Microsoft.TeamFoundation.Framework.Server Namespace