This documentation is archived and is not being maintained.
ILocationService.FindServiceDefinitions Method
Visual Studio 2013
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)
function FindServiceDefinitions(
serviceType : String
) : IEnumerable<ServiceDefinition>
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.
- 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.
Show: