Delen via


ITeamFoundationLocationService.SaveServiceDefinitions Method

Registers services with 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
Sub SaveServiceDefinitions ( _
    requestContext As TeamFoundationRequestContext, _
    serviceDefinitions As IEnumerable(Of ServiceDefinition) _
)
void SaveServiceDefinitions(
    TeamFoundationRequestContext requestContext,
    IEnumerable<ServiceDefinition> serviceDefinitions
)
void SaveServiceDefinitions(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<ServiceDefinition^>^ serviceDefinitions
)
abstract SaveServiceDefinitions : 
        requestContext:TeamFoundationRequestContext * 
        serviceDefinitions:IEnumerable<ServiceDefinition> -> unit
function SaveServiceDefinitions(
    requestContext : TeamFoundationRequestContext, 
    serviceDefinitions : IEnumerable<ServiceDefinition>
)

Parameters

.NET Framework Security

See Also

Reference

ITeamFoundationLocationService Interface

Microsoft.TeamFoundation.Framework.Server Namespace