Share via


LocationWebService.RemoveServiceDefinitions Method

Unregisters the service definitions provided. All LocationMappings will also be deleted.

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function RemoveServiceDefinitions ( _
    serviceDefinitions As List(Of ServiceDefinition), _
    lastChangeId As Integer _
) As LocationServiceData
[WebMethodAttribute]
public LocationServiceData RemoveServiceDefinitions(
    List<ServiceDefinition> serviceDefinitions,
    int lastChangeId
)
[WebMethodAttribute]
public:
LocationServiceData^ RemoveServiceDefinitions(
    List<ServiceDefinition^>^ serviceDefinitions, 
    int lastChangeId
)
[<WebMethodAttribute>]
member RemoveServiceDefinitions : 
        serviceDefinitions:List<ServiceDefinition> * 
        lastChangeId:int -> LocationServiceData
public function RemoveServiceDefinitions(
    serviceDefinitions : List<ServiceDefinition>, 
    lastChangeId : int
) : LocationServiceData

Parameters

  • lastChangeId
    Type: System.Int32

    The client provided last change id that we if the client cache is fresh.

Return Value

Type: Microsoft.TeamFoundation.Server.Core.Location.LocationServiceData
LocationServiceData containing the new lastChangeId and whether or not the server thinks the client cache is fresh. Note that no information about the unregistered services is returned.

.NET Framework Security

See Also

Reference

LocationWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace