ProGet SDK Reference
Version:

RetentionDryRun Property

Gets or sets a value indicating whether to disable actually deleting packages in retention rules.

Syntax

public static bool RetentionDryRun { get; set; }