Share via


TeamFoundationLocationService.SaveServiceDefinitions Method

Registers services by using the location service. Any access mappings referenced in a ServiceDefinition or one of its LocationMappings must already be registered with the LocationService. Location Mappings for the provided service definitions that are not fully qualified will be generated and updated on the service definitions passed in. Any service that is relative that passes no location mappings passed in will have location mappings generated for all of the existing access mappings. If only certain access mappings are desired, they must be passed in.

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

Syntax

'Declaration
Public Sub SaveServiceDefinitions ( _
    requestContext As TeamFoundationRequestContext, _
    serviceDefinitions As IEnumerable(Of ServiceDefinition) _
)
public void SaveServiceDefinitions(
    TeamFoundationRequestContext requestContext,
    IEnumerable<ServiceDefinition> serviceDefinitions
)
public:
void SaveServiceDefinitions(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<ServiceDefinition^>^ serviceDefinitions
)
member SaveServiceDefinitions : 
        requestContext:TeamFoundationRequestContext * 
        serviceDefinitions:IEnumerable<ServiceDefinition> -> unit
public function SaveServiceDefinitions(
    requestContext : TeamFoundationRequestContext, 
    serviceDefinitions : IEnumerable<ServiceDefinition>
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationLocationService Class

Microsoft.TeamFoundation.Framework.Server Namespace