AddPackageOptions.RetainFilesOnFailure Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.