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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context this call is associated with.
serviceDefinitions
Type: System.Collections.Generic.IEnumerable<ServiceDefinition>The definitions to register.
Implements
.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.