TeamFoundationLocationService.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
Public Function FindServiceDefinitionsByToolId ( _
requestContext As TeamFoundationRequestContext, _
toolId As String _
) As IEnumerable(Of ServiceDefinition)
public IEnumerable<ServiceDefinition> FindServiceDefinitionsByToolId(
TeamFoundationRequestContext requestContext,
string toolId
)
public:
virtual IEnumerable<ServiceDefinition^>^ FindServiceDefinitionsByToolId(
TeamFoundationRequestContext^ requestContext,
String^ toolId
) sealed
abstract FindServiceDefinitionsByToolId :
requestContext:TeamFoundationRequestContext *
toolId:string -> IEnumerable<ServiceDefinition>
override FindServiceDefinitionsByToolId :
requestContext:TeamFoundationRequestContext *
toolId:string -> IEnumerable<ServiceDefinition>
public final function FindServiceDefinitionsByToolId(
requestContext : TeamFoundationRequestContext,
toolId : String
) : IEnumerable<ServiceDefinition>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context this call is associated with.
toolId
Type: System.StringThe case-insensitive tool ID whose services we are looking for. If this is the empty string or null, all services that have 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.
Implements
ITeamFoundationLocationService.FindServiceDefinitionsByToolId(TeamFoundationRequestContext, String)
.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.