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
- serviceDefinitions
Type: System.Collections.Generic.List<ServiceDefinition>
lastChangeId
Type: System.Int32The 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
- 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.