CFrameworkQuery::GetQuery method (frquery.h)
[The CFrameworkQuery class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]
The GetQuery method retrieves the actual WQL command associated with the CFrameworkQuery object.
Syntax
const CHString & GetQuery();
Return value
Returns the WQL command if the operation was successful and NULL otherwise.
Remarks
If GetQuery is called within Provider::GetObject, the WQL command line does not contain a WHERE clause.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | frquery.h (include FwCommon.h) |
Library | FrameDyn.lib |
DLL | FrameDynOS.dll; FrameDyn.dll |