ILocationService.FindServiceDefinitionsByToolType Method

Finds the ServiceDefinitions for all of the services with the specified tool type. If no services exist for this tool type, an empty enumeration will be returned.

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

IEnumerable<ServiceDefinition> FindServiceDefinitionsByToolType(
	string toolType
)

Parameters

toolType
Type: System.String

The case-insensitive string that will match the tool type of a set of ServiceDefinitions. If null or empty is passed in for this value then all of the ServiceDefinitions will be returned.

Return Value

Type: System.Collections.Generic.IEnumerable<ServiceDefinition>
ServiceDefinitions for all of the services with the specified tool type. If no services exist for this tool type, an empty enumeration will be returned.

Show: