CFrameworkQuery::GetQuery method

[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(

);

Parameters

This method has no parameters.

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

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header frquery.h (include FwCommon.h)
Library FrameDyn.lib
DLL FrameDynOS.dll; FrameDyn.dll