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

.NET Framework Security

See Also

Reference

ILocationService Interface

Microsoft.TeamFoundation.Framework.Client Namespace