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