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, _
associationId As Guid _
) As SPWorkflowAssociation
'Usage
Dim list As SPList
Dim associationId As Guid
Dim returnValue As SPWorkflowAssociation
returnValue = WorkflowReport.GetAssociation(list, _
associationId)
protected static SPWorkflowAssociation GetAssociation(
SPList list,
Guid associationId
)
Parameters
list
Type: Microsoft.SharePoint.SPListThe list with which the specified approval is associated.
- associationId
Type: System.Guid
Return value
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation