The number of policy sweep iterations for which a sweep result record is preserved before it is automatically deleted. A sweep result record generated by a policy sweep is represented by a ICmPolicySweepResult object.

This property takes the following values:

  • Zero (0). No result records are generated for the policy.

    Note: If the sweep policy is set to run in preview mode, do not set this property to zero; otherwise, the sweep policy will not generate result records.
  • A value greater than zero. The number of the latest iterations for which to keep the result records. For example, if the value is one, result records are kept for the just-completed iteration, plus the in-progress iteration, if any. Result records from earlier iterations are deleted at the end of the sweep.
  • -1. No automatic deletion. Records must be deleted manually or with a disposal policy.

Namespace:  FileNet.Api.Sweep
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Property SweepResultIterationKeepCount As Nullable(Of Integer)
C#
Nullable<int> SweepResultIterationKeepCount { get; set; }
Visual C++
property Nullable<int> SweepResultIterationKeepCount {
	Nullable<int> get ();
	void set (Nullable<int> value);
}
JavaScript
function get_sweepResultIterationKeepCount();
function set_sweepResultIterationKeepCount(value);

ToggleRemarks

ToggleSee Also