Next Topic

Previous Topic

Book Contents

Execute

bool Execute(string sWQL)

Return values

True if the query was successfully executed, false if an error occurred.

Parameters

  • sWQL - A string containing a WQL query.

Remarks

Executes an WQL (WMI Query Language) query. Calls to Next() and GetProperty() can be used to retrieve the result.