Share via


CommandLineItem.RebootByDefault Property

 

Applies To: Windows Server Update Services

Gets or sets the default reboot value.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

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

Property Value

Type: System.Boolean

If true, the client will be rebooted if the executable returns a code not listed in ReturnCode.

If false, the client will not be rebooted if the executable returns a code not listed in ReturnCode.

Remarks

The default value is false.

See Also

CommandLineItem Class
Microsoft.UpdateServices.Administration Namespace

Return to top