This documentation is archived and is not being maintained.

ILocationService::FindServiceDefinition Method

Finds the ServiceDefinition with the specified service type and service identifier. If no matching ServiceDefinition exists, null is returned.

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

ServiceDefinition^ FindServiceDefinition(
	String^ serviceType, 
	Guid serviceIdentifier
)

Parameters

serviceType
Type: System::String

The service type of the ServiceDefinition to find.

serviceIdentifier
Type: System::Guid

The service identifier of the ServiceDefinition to find.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client::ServiceDefinition
The ServiceDefinition with the specified service type and service identifier. If no matching ServiceDefinition exists, null is returned.

Show: