TaskListId Property
The document is archived and information here might be outdated

SPWorkflowActivationProperties.TaskListId Property

Windows SharePoint Services 3

Gets the ID of the list on which workflow tasks for this workflow instance are created.

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

public Guid TaskListId { get; }

Property Value

Type: System.Guid
A Guid that represents the task list ID.
© 2016 Microsoft