Share via


Workflow.ClaimReleaseTask Method

Claims or releases a task that was originally assigned to a group.

Namespace:  Microsoft.Office.Workflow
Assembly:  Microsoft.Office.WorkflowSoap (in Microsoft.Office.WorkflowSoap.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function ClaimReleaseTask ( _
    item As String, _
    taskId As Integer, _
    listId As Guid, _
    fClaim As Boolean _
) As SoapXml.SoapXmlElement
'Usage
Dim instance As Workflow
Dim item As String
Dim taskId As Integer
Dim listId As Guid
Dim fClaim As Boolean
Dim returnValue As SoapXml.SoapXmlElement

returnValue = instance.ClaimReleaseTask(item, _
    taskId, listId, fClaim)
[WebMethodAttribute]
public SoapXml.SoapXmlElement ClaimReleaseTask(
    string item,
    int taskId,
    Guid listId,
    bool fClaim
)

Parameters

  • item
    Type: System.String
    The URL location of an item on which a workflow is being run.
  • listId
    Type: System.Guid
    Globally unique identifier (GUID) of a task list containing the task.
  • fClaim
    Type: System.Boolean
    Specifies if the action is a claim or a release. Specifies true for a claim and false for release.

Return Value

Type: Microsoft.SharePoint.SoapServer.SoapXml.SoapXmlElement
The SoapXml.SoapXmlElement object.

Implements

ISoapServerWorkflow.ClaimReleaseTask(String, Int32, Guid, Boolean)

Remarks

For examples of how to use the Workflow object model, see the Workflow code sample folder and EnterpriseContentManagementStarterKitSampleGuide document in the ECM Starter Kit folder in the Microsoft Office SharePoint Server 2007 SDK download.

See Also

Reference

Workflow Class

Workflow Members

Microsoft.Office.Workflow Namespace