The WqlQueryDiscoveryType complex type, in Configuration Manager, describes discovery information for settings discovered from WMI.

A WQL query is formed based on the child properties. The query is formed as:

SELECT Property from Class WHERE Where

This resulting string must be a valid WQL query string.

<xs:complexType name="WqlQueryDiscoveryType">
	<xs:complexContent>
		<xs:extension
			base="DiscoverySourceType"
		>
			<xs:sequence>
				<xs:element name="Namespace"
					type="WqlNamespaceType"
				 />
				<xs:element name="Class"
					type="NonEmptyStringType"
				 />
				<xs:element name="Property"
					type="NonEmptyStringType"
				 />
				<xs:element name="Where"
					type="WqlWhereClauseType"
					minOccurs="0"
					maxOccurs="1"
				 />
			</xs:sequence>
		</xs:extension>
	</xs:complexContent>
</xs:complexType>

Child Elements

Element Type Description

Class

NonEmptyStringType

The name of the WMI class in the specified namespace whose instances are to be queried.

Namespace

WqlNamespaceType

The local WMI namespace path which is to be queried for the discovery.

Property

NonEmptyStringType

The name of the property of the Class whose value is used as the value of the setting.

Where

WqlWhereClauseType

The WQL query ‘WHERE’ condition.

See Also


Send comments about this topic to Microsoft.