DeleteByQuery Method in Class SMS_StatusMessage
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.
Syntax
UInt32 DeleteByQuery(
String WQLSelect
);
Parameters
WQLSelect
Data type: String
Qualifiers: [in]
A WQL SELECT statement.
Return Values
A UInt32
data type that indicates the number of rows deleted.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for