Delen via


ILocationService.RemoveServiceDefinition Method (ServiceDefinition)

Removes the specified ServiceDefinition from the location service.

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

Syntax

'Declaration
Sub RemoveServiceDefinition ( _
    serviceDefinition As ServiceDefinition _
)
void RemoveServiceDefinition(
    ServiceDefinition serviceDefinition
)
void RemoveServiceDefinition(
    ServiceDefinition^ serviceDefinition
)
abstract RemoveServiceDefinition : 
        serviceDefinition:ServiceDefinition -> unit
function RemoveServiceDefinition(
    serviceDefinition : ServiceDefinition
)

Parameters

Exceptions

Exception Condition
IllegalDeleteSelfReferenceServiceDefinitionException

Thrown if the caller tries to delete the self-refernce (location service) ServiceDefinition.

.NET Framework Security

See Also

Reference

ILocationService Interface

RemoveServiceDefinition Overload

Microsoft.TeamFoundation.Framework.Client Namespace