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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextA configuration database request context.
stepGroups
Type: System.Collections.Generic.IEnumerable<ServicingStepGroup>A collection of servicing step groups to add to the configuration database.
- servicingLock
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationLock
Exceptions
Exception | Condition |
---|---|
ServicingStepGroupAlreadyExistsException | At least one servicing step group from the stepGroups collection is already defined in the configuration database. |
.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.
See Also
Reference
TeamFoundationServicingService Class