RollingUpgradePolicyDescription.ForceRestart Property


Specifies if the service host should be restarted even when there are no code package changes as part of the upgrade. Set this flag to true if the service cannot dynamically accept config or data package changes.

public bool ForceRestart { get; set; }
member this.ForceRestart : bool with get, set
Public Property ForceRestart As Boolean

Property Value


Returns System.Boolean.

Applies to