The SMS_TaskSequence_RebootAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that specifies restart options for the target computer.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_TaskSequence_RebootAction : SMS_TaskSequence_Action { SMS_TaskSequence_Condition Condition; Boolean ContinueOnError; String Description; Boolean Enabled; String Message; UInt32 MessageTimeout; String Name; String SupportedEnvironment; String Target; UInt32 Timeout; }; |
Methods
The SMS_TaskSequence_RebootAction class does not define any methods.
Properties
- Condition
- Data type: SMS_TaskSequence_ConditionAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- ContinueOnError
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- Description
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("0-255")]See SMS_TaskSequence_Action Server WMI Class.
- Enabled
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- Message
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("0-512")]A user-defined message for display in the reboot dialog box. The message length can be between 0 and 512 characters.
- MessageTimeout
- Data type: UInt32Access type: Read/WriteQualifiers: [VariableName("SMSRebootTimeout")]The number of seconds that a user-defined message is displayed to the user before the computer restarts. Specify 0 seconds (default) to indicate that no reboot message should be displayed. The task sequence variable that is associated with this property is SMSRebootTimeout. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.
- Name
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("1-100")]See SMS_TaskSequence_Action Server WMI Class.
- SupportedEnvironment
- Data type: StringAccess type: Read/WriteQualifiers: [Not_Null:ToInstance]See SMS_TaskSequence_Action Server WMI Class.
- Target
- Data type: StringAccess type: Read/WriteQualifiers:
[Not_Null, CommandLineArg(1)]The operating system to use for
reboot. Possible values are:
- HD
- WinPE
- HD
- Timeout
- Data type: UInt32Access type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
Remarks
Class qualifiers for this class include:
[CommandLine("smsboot.exe /target:%1"),VariablePrefix("SMSReboot"),
ActionCategory("General,6,1"),ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "RebootComputerControl", "TaskSequenceOptionControl"}]
For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.