SMS_TaskSequence_ConditionExpression Windows Management Instrumentation (WMI) 類別是 Configuration Manager 中的 SMS 提供者伺服器類別,它是所有條件運算式的抽象基底類別。
下列語法是從 MOF) 程式碼 (Managed Object Format 簡化而來,並包含所有繼承的屬性。
語法
Class SMS_TaskSequence_ConditionExpression : SMS_TaskSequence_ConditionOperand
{
};
方法
SMS_TaskSequence_ConditionExpression該類別未定義任何方法。
屬性
SMS_TaskSequence_ConditionExpression該類別未定義任何屬性。
註解
此類別的類別限定詞包括:
摘要
如需 [屬性] 區段中包含的類別限定詞和屬性限定詞的詳細資訊,請參閱 Configuration Manager 類別和屬性限定詞。
SMS_TaskSequence_ConditionExpression是運算式的抽象基底類別,必須評估為true,才能處理工作順序步驟。 例如, Server WMI Class SMS_TaskSequence_RegistryConditionExpression 衍生類別定義了登錄機碼存在的運算式。A
SMS_TaskSequence_ConditionExpression會儲存在條件的 (SMS_TaskSequence_Condition Server WMI Class)Operands陣列屬性中,其定義條件運算元的清單。
注意事項
在 SMS_TaskSequence_Step Server WMI Class) (工作順序步驟中,條件是在屬性中 Condition 定義。
或者,您也可以將 SMS_TaskSequence_ConditionOperator Server WMI 類別 物件新增至條件的 Operands 陣列屬性,以及將運算式和運算子新增至新增的 SMS_TaskSequence_ConditionOperator Server WMI 類別Operands 陣列,以建立更複雜的條件。
如需詳細資訊,請參閱作業系統部署任務序列物件模型。
需求
執行階段需求
如需詳細資訊,請參閱 Configuration Manager 伺服器執行階段需求。
開發需求
如需詳細資訊,請參閱 Configuration Manager 伺服器開發需求。
另請參閱
SMS_TaskSequence_ConditionOperator 伺服器 WMI 類別SMS_TaskSequence_Condition 伺服器 WMI 類別SMS_TaskSequence_ConditionOperand 伺服器 WMI 類別