IWorkflow.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 ( _
taskId As Integer, _
listId As Guid, _
fClaim As Boolean _
) As String
'Usage
Dim instance As IWorkflow
Dim taskId As Integer
Dim listId As Guid
Dim fClaim As Boolean
Dim returnValue As String
returnValue = instance.ClaimReleaseTask(taskId, _
listId, fClaim)
string ClaimReleaseTask(
int taskId,
Guid listId,
bool fClaim
)
Parameters
- 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: System.String
The information about the task associated with the workflow.
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.