Delen via


TeamFoundationServicingService.GetServicingOperation Method

Gets a specified servicing operation.

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

Syntax

'Declaration
Public Function GetServicingOperation ( _
    requestContext As TeamFoundationRequestContext, _
    servicingOperation As String _
) As ServicingOperation
public ServicingOperation GetServicingOperation(
    TeamFoundationRequestContext requestContext,
    string servicingOperation
)
public:
ServicingOperation^ GetServicingOperation(
    TeamFoundationRequestContext^ requestContext, 
    String^ servicingOperation
)
member GetServicingOperation : 
        requestContext:TeamFoundationRequestContext * 
        servicingOperation:string -> ServicingOperation
public function GetServicingOperation(
    requestContext : TeamFoundationRequestContext, 
    servicingOperation : String
) : ServicingOperation

Parameters

  • servicingOperation
    Type: System.String

    Servicing operation being queried, such as Install or Upgrade.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.ServicingOperation
A servicing operation or null if the specified servicing operation does not exist.

.NET Framework Security

See Also

Reference

TeamFoundationServicingService Class

Microsoft.TeamFoundation.Framework.Server Namespace