次の方法で共有


StageAndUpgradeRequest.OverwriteUnmanagedCustomizations Property

Definition

Gets or sets whether any unmanaged customizations that have been applied over existing managed solution components should be overwritten. Required.

public:
 property bool OverwriteUnmanagedCustomizations { bool get(); void set(bool value); };
public bool OverwriteUnmanagedCustomizations { get; set; }
member this.OverwriteUnmanagedCustomizations : bool with get, set
Public Property OverwriteUnmanagedCustomizations As Boolean

Property Value

Set to true if the any unmanaged customizations that have been applied over existing managed solution components should be overwritten; otherwise, false.

Remarks

This setting applies to scenarios where the managed solution is already installed and it is being installed again, perhaps as a newer version. When this value is false importing the solution will only update the managed solution components and any unmanaged customizations of those components will remain. By setting this property to true and importing the solution, any unmanaged customizations will be overwritten. You may want to do this as a way to re-initialize the solution.

To preserve any unmanaged customizations, export any unmanaged customizations before installing the update with this option set to true.

Applies to