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 is intended to show the definition of the method.
UInt32 DeleteByQuery( String WQLSelect );
- Data type: StringQualifiers: [in]A WQL SELECT statement.
A UInt32 data type that indicates the number of rows deleted.
For more information, see Configuration Manager Server Runtime Requirements.
For more information, see Configuration Manager Server Development Requirements.
ReferenceSMS_StatusMessage Server WMI Class
Send comments about this topic to Microsoft.