你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LcmConfigurationSetting.RebootIfNeeded Property

Definition

Set this to true to automatically reboot the node after a configuration that requires reboot is applied. Otherwise, you will have to manually reboot the node for any configuration that requires it. The default value is false. To use this setting when a reboot condition is enacted by something other than DSC (such as Windows Installer), combine this setting with the xPendingReboot module.

public bool? RebootIfNeeded { get; }
member this.RebootIfNeeded : Nullable<bool>
Public ReadOnly Property RebootIfNeeded As Nullable(Of Boolean)

Property Value

Applies to