SMS_TaskSequence_RebootAction Server WMI Class
Updated: October 28, 2009
Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
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;
};
The SMS_TaskSequence_RebootAction class does not define any methods.
- Condition
- Data type: SMS_TaskSequence_Condition Access type: Read/Write Qualifiers: None See SMS_TaskSequence_Action Server WMI Class.
- ContinueOnError
- Data type: Boolean Access type: Read/Write Qualifiers: None See SMS_TaskSequence_Action Server WMI Class.
- Description
- Data type: String Access type: Read/Write Qualifiers: [AllowedLen("0-255")] See SMS_TaskSequence_Action Server WMI Class.
- Enabled
- Data type: Boolean Access type: Read/Write Qualifiers: None See SMS_TaskSequence_Action Server WMI Class.
- Message
- Data type: String Access type: Read/Write Qualifiers: [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: UInt32 Access type: Read/Write Qualifiers: [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: String Access type: Read/Write Qualifiers: [AllowedLen("1-100")] See SMS_TaskSequence_Action Server WMI Class.
- SupportedEnvironment
- Data type: String Access type: Read/Write Qualifiers: [Not_Null:ToInstance] See SMS_TaskSequence_Action Server WMI Class.
- Target
-
Data type: String
Access type: Read/Write
Qualifiers: [Not_Null, CommandLineArg(1)]
The operating system to use for reboot. Possible values are:
-
HD
-
WinPE
-
HD
- Timeout
- Data type: UInt32 Access type: Read/Write Qualifiers: None See SMS_TaskSequence_Action Server WMI Class.
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.
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
Concepts
Operating System Deployment Server WMI ClassesConfiguration Manager Operating System Deployment
About Operating System Deployment Task Sequences
How to Create an Operating System Deployment Task Sequence
How to Add a Condition to an Operating System Deployment Task Sequence Step
How to Add an Operating System Deployment Task Sequence Action