SPWorkflowAssociation.TaskListId property

Gets the list ID of the workflow task list.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property TaskListId As Guid
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Guid

value = instance.TaskListId
public Guid TaskListId { get; }

Property value

Type: System.Guid
A Guid that represents the list ID.

Remarks

To set the workflow task list, use the SetTaskList method.

See also

Reference

SPWorkflowAssociation class

SPWorkflowAssociation members

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview