ISoapServerWorkflow.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
Function ClaimReleaseTask ( _
item As String, _
taskId As Integer, _
listId As Guid, _
fClaim As Boolean _
) As SoapXml.SoapXmlElement
'Usage
Dim instance As ISoapServerWorkflow
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)
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.
- taskId
Type: System.Int32
Unique identifier of a task.
- listId
Type: System.Guid
Globally unique identifier (GUID) of a task list containing the task.
- fClaim
Type: System.Boolean
Specifies whether the action is a claim or a release; true for a claim, and false for release.
Return Value
Type: Microsoft.SharePoint.SoapServer.SoapXml.SoapXmlElement
The SoapXml.SoapXmlElement object.
Remarks
For examples of how to use the ISoapServerWorkflow interface, see the Workflow code sample folder and EnterpriseContentManagementStarterKitSampleGuide document in the ECM Starter Kit folder in the Microsoft Office SharePoint Server 2007 SDK download.