共用方式為


ITeamProjectCollectionServicing.UpdateServicingOperation Method (String, IEnumerable<String>, IEnumerable<String>)

Updates servicing operation. All servicing step groups listed in the stepGroups collection must be added to the configuration database before calling this method.

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

Syntax

'Declaration
Sub UpdateServicingOperation ( _
    servicingOperation As String, _
    stepGroups As IEnumerable(Of String), _
    executionHandlers As IEnumerable(Of String) _
)
void UpdateServicingOperation(
    string servicingOperation,
    IEnumerable<string> stepGroups,
    IEnumerable<string> executionHandlers
)
void UpdateServicingOperation(
    String^ servicingOperation, 
    IEnumerable<String^>^ stepGroups, 
    IEnumerable<String^>^ executionHandlers
)
abstract UpdateServicingOperation : 
        servicingOperation:string * 
        stepGroups:IEnumerable<string> * 
        executionHandlers:IEnumerable<string> -> unit
function UpdateServicingOperation(
    servicingOperation : String, 
    stepGroups : IEnumerable<String>, 
    executionHandlers : IEnumerable<String>
)

Parameters

  • servicingOperation
    Type: System.String

    A servicing operation being updated

Exceptions

Exception Condition
ServicingStepGroupNotFoundException

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

.NET Framework Security

See Also

Reference

ITeamProjectCollectionServicing Interface

UpdateServicingOperation Overload

Microsoft.TeamFoundation.Framework.Client Namespace