ILocationService.FindServiceDefinitions Method

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

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

IEnumerable<ServiceDefinition> FindServiceDefinitions(
	string serviceType
)

Parameters

serviceType
Type: System.String

The case-insensitive string that identifies what type of service is being requested. If this value is null, ServiceDefinitions for all services registered with this location service will be returned.

Return Value

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

Show: