DeleteByQuery Method in Class SMS_StatusMessage
The DeleteByQuery WMI class method deletes a group of status messages specified by a WMI Query Language (WQL) SELECT statement.
The following syntax is simplified from MOF code and is intended to show you the definition of the method.
uint32 DeleteByQuery(
[in] string WQLSelect
);
Parameters
WQLSelect
Data type: string
Qualifiers: InWQL statement selecting the records to delete. The SELECT statement must reference the SMS_StatusMessage table.
Return Values
The DeleteByQuery method returns a uint32 that is the number of status messages deleted.