共用方式為


DeleteByQuery Method in Class SMS_StatusMessage

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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
);

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

Concepts

SMS_StatusMessage Server WMI Class