Поделиться через


TeamFoundationLocationService.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
Public Sub SaveServiceDefinitions ( _
    requestContext As TeamFoundationRequestContext, _
    serviceDefinitions As IEnumerable(Of ServiceDefinition) _
)
public void SaveServiceDefinitions(
    TeamFoundationRequestContext requestContext,
    IEnumerable<ServiceDefinition> serviceDefinitions
)
public:
virtual void SaveServiceDefinitions(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<ServiceDefinition^>^ serviceDefinitions
) sealed
abstract SaveServiceDefinitions : 
        requestContext:TeamFoundationRequestContext * 
        serviceDefinitions:IEnumerable<ServiceDefinition> -> unit  
override SaveServiceDefinitions : 
        requestContext:TeamFoundationRequestContext * 
        serviceDefinitions:IEnumerable<ServiceDefinition> -> unit
public final function SaveServiceDefinitions(
    requestContext : TeamFoundationRequestContext, 
    serviceDefinitions : IEnumerable<ServiceDefinition>
)

Parameters

Implements

ITeamFoundationLocationService.SaveServiceDefinitions(TeamFoundationRequestContext, IEnumerable<ServiceDefinition>)

.NET Framework Security

See Also

Reference

TeamFoundationLocationService Class

Microsoft.TeamFoundation.Framework.Server Namespace