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

返品

true コレクション内の項目を直ちにコミットする必要がある場合。それ以外の場合は false

注釈

MustCommitfalseを返した場合、作業を将来のコミット ポイントに延期できます。 いずれかの項目をコミットする必要がある場合は、 true を返します。すべての項目は現在のコミット ポイントでコミットされます。 考えられるコミット ポイントの詳細については、 SqlWorkflowPersistenceService クラスを参照してください。

適用対象