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)
Syntax
'Declaration
Function FindServiceDefinitionsByToolType ( _
toolType As String _
) As IEnumerable(Of ServiceDefinition)
IEnumerable<ServiceDefinition> FindServiceDefinitionsByToolType(
string toolType
)
IEnumerable<ServiceDefinition^>^ FindServiceDefinitionsByToolType(
String^ toolType
)
abstract FindServiceDefinitionsByToolType :
toolType:string -> IEnumerable<ServiceDefinition>
function FindServiceDefinitionsByToolType(
toolType : String
) : IEnumerable<ServiceDefinition>
Parameters
toolType
Type: System.StringThe 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.
.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.