Dela via


AddPackageOptions.RetainFilesOnFailure Property

Definition

Gets or sets a value that indicates whether to remove files that have been created on the target machine during the install process in the case of a failed deployment.

public:
 property bool RetainFilesOnFailure { bool get(); void set(bool value); };
bool RetainFilesOnFailure();

void RetainFilesOnFailure(bool value);
public bool RetainFilesOnFailure { get; set; }
var boolean = addPackageOptions.retainFilesOnFailure;
addPackageOptions.retainFilesOnFailure = boolean;
Public Property RetainFilesOnFailure As Boolean

Property Value

Boolean

bool

TRUE indicates that, in the case of a failed deployment, files that have been created on the target machine during the install process will be removed; otherwise, FALSE.

Applies to