The SMS_TaskSequence_Condition Server WMI Class Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that defines a condition for an operating system deployment step. This class is the base class for all conditions.

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

Class SMS_TaskSequence_Condition
	SMS_TaskSequence_ConditionOperand Operands[];


The SMS_TaskSequence_Condition class does not define any methods.



Data type: SMS_TaskSequence_ConditionOperand ArrayAccess type: Read/WriteQualifiers: [Not_Null:ToInstance]SMS_TaskSequence_ConditionOperand Server WMI Class objects indicating condition operands. For example, the array can contain a single expression, such as an SMS_TaskSequence_WMIConditionExpression Server WMI Class object. A more complicated condition array can contain a combination of expressions, operators, and operating system condition groups.


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

This class is the root for a hierarchy of operator and expression objects that represent the condition that determines whether a step or group or action should be executed. This class implies an AND operator. Therefore, all child operands in the array must be true for the overall condition to be true.

For example, you might want to process a step on a computer that must have Microsoft Office 2007 and Windows Vista installed. In this case, you add to the Operands property array, a SMS_TaskSequence_SoftwareConditionExpression Server WMI Class that defines Microsoft Office 2007 and a SMS_TaskSequence_OSConditionGroup Server WMI Class that defines Windows Vista. The overall condition evaluates to true only when the two operands are true. That is, when Microsoft Office 2007 is installed on a computer with Windows Vista installed.

For more information about conditions, see Operating System Deployment Task Sequence Object Model.


Runtime Requirements

Development Requirements

See Also

Send comments about this topic to Microsoft.