Partager via


ILocationService.RemoveServiceDefinitions Method

Removes the specified ServiceDefinitions from the location service.

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

Syntax

'Declaration
Sub RemoveServiceDefinitions ( _
    serviceDefinitions As IEnumerable(Of ServiceDefinition) _
)
void RemoveServiceDefinitions(
    IEnumerable<ServiceDefinition> serviceDefinitions
)
void RemoveServiceDefinitions(
    IEnumerable<ServiceDefinition^>^ serviceDefinitions
)
abstract RemoveServiceDefinitions : 
        serviceDefinitions:IEnumerable<ServiceDefinition> -> unit
function RemoveServiceDefinitions(
    serviceDefinitions : IEnumerable<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

Microsoft.TeamFoundation.Framework.Client Namespace