Condividi tramite


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

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), _
    servicingLock As TeamFoundationLock _
)
public void AddServicingStepGroups(
    TeamFoundationRequestContext requestContext,
    IEnumerable<ServicingStepGroup> stepGroups,
    TeamFoundationLock servicingLock
)
public:
void AddServicingStepGroups(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<ServicingStepGroup^>^ stepGroups, 
    TeamFoundationLock^ servicingLock
)
member AddServicingStepGroups : 
        requestContext:TeamFoundationRequestContext * 
        stepGroups:IEnumerable<ServicingStepGroup> * 
        servicingLock:TeamFoundationLock -> unit
public function AddServicingStepGroups(
    requestContext : TeamFoundationRequestContext, 
    stepGroups : IEnumerable<ServicingStepGroup>, 
    servicingLock : TeamFoundationLock
)

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