Share via


AddPackageOptions.ForceUpdateFromAnyVersion Property

Definition

Gets or sets a value that indicates whether to force a specific version of a package to be added, regardless of if a higher version is already added.

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

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

Property Value

Boolean

bool

TRUE forces a specific version of a package to be added, regardless of if a higher version is already added; otherwise, FALSE.

Applies to