IGPMWMIFilter interface

The IGPMWMIFilter interface contains methods that allow you to set and retrieve security attributes and various properties for a WMI filter. WMI filter queries are specified using WMI Query Language (WQL).

Members

The IGPMWMIFilter interface inherits from the IDispatch interface. IGPMWMIFilter also has these types of members:

Methods

The IGPMWMIFilter interface has these methods.

MethodDescription
GetQueryList

Returns the query list stored in the WMI filter.

GetSecurityInfo

Returns the list of permissions for the WMI filter.

SetSecurityInfo

Sets the list of permissions for the WMI filter.

 

Properties

The IGPMWMIFilter interface has these properties.

PropertyDescription

Description

Description of the WMI filter.

Name

Name of the WMI filter.

Path

WMI path to the instance of the WMI filter; for example, MSFT_SomFilter.ID="{<Guid>}",Domain="<Domain DNS Name>".

 

Remarks

For information about importing, exporting, and copying WMI filters, see the IWbemClassObject::GetObjectText and IMofCompiler::CompileBuffer methods in the WMI SDK.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

IID_IGPMWMIFilter is defined as EF2FF9B4-3C27-459A-B979-038305CEC75D

See also

IDispatch
IGPM
IGPMWMIFilterCollection

 

 

Show: