Work. Must Commit(ICollection) Method
Allows the items in the work batch to assert whether they must commit immediately.
public: bool MustCommit(System::Collections::ICollection ^ items);
public bool MustCommit (System.Collections.ICollection items);
abstract member MustCommit : System.Collections.ICollection -> bool
Public Function MustCommit (items As ICollection) As Boolean
true if any item in the collection must be committed immediately; otherwise,
If MustCommit returns
false, the work can be postponed to a future commit point. If any of the items must be committed, then return
true and all items will be committed at the current commit point. For a discussion about possible commit points, see the SqlWorkflowPersistenceService class.