Share via


SPWorkflow.AssociationId Property

Gets the ID of the workflow association on which this workflow instance is based.

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

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

Property Value

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

See Also

Reference

SPWorkflow Class

SPWorkflow Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation