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
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 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
- 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.