共用方式為


SPWorkflowAssociation.HistoryListId Property

Gets the list ID of the list to which to log workflow history events for this workflow association.

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 HistoryListId As Guid
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Guid

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

Property Value

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

Remarks

To specify the workflow history list for a workflow association, use the SetHistoryList method.

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation