SPWorkflowAssociation.TaskListId Property
Gets the list ID of the workflow task list.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation