Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 2.1 KB

File metadata and controls

61 lines (43 loc) · 2.1 KB
title SMS_TaskSequence_WMIConditionExpression Class
description Represents a condition expression to check for the existence of results of a WMI query.
ms.date 09/20/2016
ms.subservice sdk
ms.topic reference
ms.collection tier3

SMS_TaskSequence_WMIConditionExpression Server WMI Class

The SMS_TaskSequence_WMIConditionExpression Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a condition expression to check for the existence of results of a WMI query.

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

Syntax

Class SMS_TaskSequence_WMIConditionExpression : SMS_TaskSequence_ConditionExpression
{
      String Namespace;
      String Query;
};

Methods

The SMS_TaskSequence_WMIConditionExpression class does not define any methods.

Properties

Namespace Data type: String

Access type: Read/Write

Qualifiers: [Not_Null]

Namespace for the query.

Query Data type: String

Access type: Read/Write

Qualifiers: [Not_Null, AllowedLen("1-16384")]

The WQL query for the condition expression. The length is between 1 and 16,384 characters.

Remarks

The query result set is the results that satisfy the condition. For example, if you need to identify if a computer has at least one NTFS partition, you would use the following query:

Select * from win32_logicaldisk where FileSystem='NTFS'

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

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.