The
IWMIExtension interface extends ADSI computer objects returned from the LDAP namespace. The ADSI extension adds methods to those objects that let you manage them using WMI. For more information about this ADSI extension, see
Managing Objects on a Network.
Note For more information about support and installation of this component on a specific operating system, see Operating System Availability of WMI Components.
The following tables list the methods and properties that the
IWMIExtension interface adds to the ADSI computer object.
Syntax
interface IWMIExtension : IUnknown
Methods
The IWMIExtension interface inherits the methods of the IUnknown interface.
In addition, IWMIExtension defines the following methods.
| Method | Description |
GetWMIObject | Returns the WMI computer object identified by the ADSI computer object. |
GetWMIServices | Returns the WMI services object that use to perform other WMI actions, such as executing methods or invoking queries. |
Properties
The IWMIExtension interface defines the following property.
| Property | Description |
WMIObjectPath | String value that contains a moniker. The moniker identifies the object path for the WMI computer object. |
Requirements
| Client | Requires Windows XP, Windows 2000 Professional, Windows NT Workstation 4.0 SP4 and later, Windows Me, Windows 98, or Windows 95 OSR2 and later. |
| Server | Requires Windows 2000 Server or Windows NT Server 4.0 SP4 and later. |
| Header | Declared in WbemAds.h. |
| Library | Use Wbemuuid.lib. |
| Type Library | Use Wbemads.tlb. |
| DLL | Requires Wbemads.dll. |
Send comments about this topic to Microsoft
Build date: 8/20/2008