Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Sub EnsureWorkflowInformation ( _
retrieveAssociations As Boolean, _
retrieveWorkflows As Boolean _
)
'Usage
Dim instance As SPListItem
Dim retrieveAssociations As Boolean
Dim retrieveWorkflows As Boolean
instance.EnsureWorkflowInformation(retrieveAssociations, _
retrieveWorkflows)
public void EnsureWorkflowInformation(
bool retrieveAssociations,
bool retrieveWorkflows
)
Parameters
retrieveAssociations
Type: System.Booleantrue to include workflow associations; otherwise, false.
retrieveWorkflows
Type: System.Booleantrue to include workflows; otherwise, false.
Remarks
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.