IGPMWMIFilter Property Methods

The property methods of the IGPMWMIFilter interface get and set the properties described in the following table. For a general discussion of property methods, see Interface Property Methods in the ADSI documentation .

Properties

Description
Description of the WMI filter.
Access type: Read/write
Scripting data type: String
// C++ method syntax
HRESULT put_Description(
  [in] BSTR newVal
);
HRESULT get_Description(
  [out] BSTR* pVal
);

Name
Name of the WMI filter.
Access type: Read/write
Scripting data type: String
// C++ method syntax
HRESULT put_Name(
  [in] BSTR newVal
);
HRESULT get_Name(
  [out] BSTR* pVal
);

Path
WMI path to the instance of the WMI filter; for example, MSFT_SomFilter.ID="{<Guid>}",Domain="<Domain DNS Name>".
Access type: Read-only
Scripting data type: String
// C++ method syntax
HRESULT get_Path(
  [out] BSTR* pVal
);

 

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

IGPMWMIFilter
IGPMWMIFilterCollection

 

 

Show: