The SMS_TaskSequence_Action Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that serves as the abstract base class for all task sequence actions.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_TaskSequence_Action : SMS_TaskSequence_Step
{
	SMS_TaskSequence_Condition Condition;
	Boolean ContinueOnError;
	String Description;
	Boolean Enabled;
	String Name;
	String SupportedEnvironment;
	UInt32 Timeout;
};

Methods

The SMS_TaskSequence_Action class does not define any methods.

Properties

Condition

Data type: SMS_TaskSequence_ConditionAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Step Server WMI Class.
ContinueOnError

Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Step Server WMI Class.
Description

Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("0-255")]See SMS_TaskSequence_Step Server WMI Class.
Enabled

Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Step Server WMI Class.
Name

Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("1-100")]See SMS_TaskSequence_Step Server WMI Class.
SupportedEnvironment

Data type: StringAccess type: Read/WriteQualifiers: [Not_Null:ToInstance]The environment required to run the task sequence action. Possible values are:
  • WinPE

  • FullOS

  • WinPEandFullOS

The default value is WinPEandFullOS.
Timeout

Data type: UInt32Access type: Read/WriteQualifiers: NoneThe user-specified timeout value, in seconds. If the step does not finish in the specified time period, the client execution engine explicitly terminates the step.

Remarks

Class qualifiers for this class include:

  • Abstract

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Configuration Manager supports a number of built-in action classes that are derived from SMS_TaskSequence_Action that represent operations available to the administrator in the Configuration Manager console. An example is SMS_TaskSequence_ApplyDataImageAction Server WMI Class.

By using the Operating System Deployment task sequence object model, your application can create and use task sequences that use the built-in actions. For more information, see About Operating System Deployment Task Sequences.

You also use this class to create a custom task sequence action. For more information, see About Configuration Manager Custom Actions

Requirements

Runtime Requirements

Development Requirements

See Also