WorkflowReport.GetAssociation Method
This member is reserved for internal use and is not intended to be used directly from your code. Returns the approval workflow instance with the specified GUID that is associated with the specified list.
Namespace: Microsoft.Office.RecordsManagement.Reporting
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Protected Shared Function GetAssociation ( _
list As SPList, _
guidID As Guid _
) As SPWorkflowAssociation
'Usage
Dim list As SPList
Dim guidID As Guid
Dim returnValue As SPWorkflowAssociation
returnValue = WorkflowReport.GetAssociation(list, _
guidID)
protected static SPWorkflowAssociation GetAssociation(
SPList list,
Guid guidID
)
Parameters
list
Type: Microsoft.SharePoint.SPListThe list with which the specified approval is associated.
guidID
Type: System.GuidA particular workflow instance.
Return Value
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation