Share via


IPendingWork.MustCommit(ICollection) 方法

定義

允許工作批次中的項目判斷提示是否必須立刻認可。

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

參數

items
ICollection

工作項目的 ICollection

傳回

Boolean

如果必須立刻認可集合中的任何項目,則為 true,否則為 false

備註

如果 MustCommit 傳回 false,表示工作可能延後到未來的認可點。 如果必須認可任何項目,則傳回 true 且將在目前的認可點認可所有項目。 如需可能認可點的討論資訊,請參閱 SqlWorkflowPersistenceService 類別。

適用於