TeamFoundationServicingService.AddServicingStepGroups Method (TeamFoundationRequestContext, IEnumerable<ServicingStepGroup>)

Adds servicing step groups and servicing steps listed in the stepGroups collection to the configuration database.

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

Syntax

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

Parameters

Exceptions

Exception Condition
ServicingStepGroupAlreadyExistsException

At least one servicing step group from the stepGroups collection is already defined in the configuration database.

.NET Framework Security

See Also

Reference

TeamFoundationServicingService Class

AddServicingStepGroups Overload

Microsoft.TeamFoundation.Framework.Server Namespace