This documentation is archived and is not being maintained.
ILocationService::FindServiceDefinition Method
Visual Studio 2013
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::ServiceDefinitionThe ServiceDefinition with the specified service type and service identifier. If no matching ServiceDefinition exists, null is 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: