SMS_TaskSequence_Condition Server WMI Class
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_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[];
};
Methods
The SMS_TaskSequence_Condition class does not define any methods.
Properties
Operands
Data type: SMS_TaskSequence_ConditionOperand ArrayAccess type: Read/Write
Qualifiers: [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.
Remarks
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.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
See Also
Concepts
Operating System Deployment Server WMI Classes
SMS_TaskSequence_ConditionOperand Server WMI Class
SMS_TaskSequence_WMIConditionExpression Server WMI Class
Configuration 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