Export (0) Print
Expand All

SPListItem.EnsureWorkflowInformation method (Boolean, Boolean)

Checks the item's workflow information and, if necessary, updates it to ensure that the most current information is used.

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

public void EnsureWorkflowInformation(
	bool retrieveAssociations,
	bool retrieveWorkflows
)

Parameters

retrieveAssociations
Type: System.Boolean

true to include workflow associations; otherwise, false.

retrieveWorkflows
Type: System.Boolean

true to include workflows; otherwise, false.

This method gets the workflow information from the list item, and updates the workflow if necessary to ensure that the most current information is used.

Show:
© 2014 Microsoft