共用方式為


TeamProjectCollectionWebService.UpdateServicingOperation Method

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.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub UpdateServicingOperation ( _
    servicingOperation As String, _
    stepGroups As List(Of String), _
    executionHandlers As List(Of String) _
)
[WebMethodAttribute]
public void UpdateServicingOperation(
    string servicingOperation,
    List<string> stepGroups,
    List<string> executionHandlers
)
[WebMethodAttribute]
public:
void UpdateServicingOperation(
    String^ servicingOperation, 
    List<String^>^ stepGroups, 
    List<String^>^ executionHandlers
)
[<WebMethodAttribute>]
member UpdateServicingOperation : 
        servicingOperation:string * 
        stepGroups:List<string> * 
        executionHandlers:List<string> -> unit
public function UpdateServicingOperation(
    servicingOperation : String, 
    stepGroups : List<String>, 
    executionHandlers : List<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

TeamProjectCollectionWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace