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
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.
.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.