This documentation is archived and is not being maintained.
ILocationService::RemoveServiceDefinition Method (String, Guid)
Visual Studio 2013
Removes the ServiceDefinition with the specified service type and service identifier from the location serivce.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Parameters
- serviceType
- Type: System::String
The service type of the ServiceDefinition to remove.
- serviceIdentifier
- Type: System::Guid
The service identifier of the ServiceDefinition to remove.
| Exception | Condition |
|---|---|
| IllegalDeleteSelfReferenceServiceDefinitionException | Thrown if the caller tries to delete the self-refernce (location service) ServiceDefinition. |
- 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: