Share via


CommitFailureHandler.PruneTransactionHistory Method

Definition

Overloads

PruneTransactionHistory()

Removes the transactions marked for deletion.

PruneTransactionHistory(Boolean, Boolean)

Removes the transactions marked for deletion if their number exceeds PruningLimit.

PruneTransactionHistory()

Removes the transactions marked for deletion.

public void PruneTransactionHistory ();
member this.PruneTransactionHistory : unit -> unit
Public Sub PruneTransactionHistory ()

Applies to

PruneTransactionHistory(Boolean, Boolean)

Removes the transactions marked for deletion if their number exceeds PruningLimit.

protected virtual void PruneTransactionHistory (bool force, bool useExecutionStrategy);
abstract member PruneTransactionHistory : bool * bool -> unit
override this.PruneTransactionHistory : bool * bool -> unit
Protected Overridable Sub PruneTransactionHistory (force As Boolean, useExecutionStrategy As Boolean)

Parameters

force
Boolean

if set to true will remove all the old transactions even if their number does not exceed PruningLimit.

useExecutionStrategy
Boolean

if set to true the operation will be executed using the associated execution strategy

Applies to