The DeleteByQuery Windows Management Instrumentation (WMI) class method, in Configuration Manager, deletes status messages specified by a WQL query.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

UInt32 DeleteByQuery(
	String WQLSelect
);

Parameters

WQLSelect

Data type: StringQualifiers: [in]A WQL SELECT statement.

Return Values

A UInt32 data type that indicates the number of rows deleted.

Requirements

Runtime Requirements

Development Requirements

See Also