Previous Page
Next Page

WMI Scripting API Objects

Table C-3 describes WMI scripting API objects and how they are used.

Table C-3. WMI scripting API objects

Object

Description

SWbemDateTime

Constructs and parses CIM date/time values.

SWbemEventSource

Retrieves events in conjunction with SWbemServices.Exec NotificationQuery.

SWbemLastError

Provides extended error information when an error occurs.

SWbemLocator

Obtains an SWbemServices object that can get access to WMI on a particular host computer.

SWbemMethod

Contains a single WMI method definition.

SWbemMethodSet

Gets a collection of SWbemMethod objects.

SWbemNamedValue

Contains a single named value.

SWbemNamedValueSet

Gets access to a collection of SWbemNamedValue objects.

SWbemObject

Contains and manipulates a single WMI object class or instance.

SWbemObjectEx

Extends the functionality of SWbemObject. This object adds the Refresh method for SWbemRefresher objects.

SWbemObjectPath

Generates and validates an object path.

SWbemObjectSet

Gets access to a collection of SWbemObject objects.

SWbemPrivilege

Sets or clears a privilege.

SWbemPrivilegeSet

Gets access to a collection of SWbemPrivilege objects.

SWbemProperty

Contains a single WMI property.

SWbemPropertySet

Gets access to a collection of SWbemProperty objects.

SWbemQualifier

Contains a single property qualifier.

SWbemQualifierSet

Gets access to a collection of SWbemQualifier objects.

SWbemRefresher

Collects and updates object property values in one operation.

SWbemRefreshableItem

Represents a single refreshable element in an SWbemRefresher object, such as a property.

SWbemSecurity

Manages security settings such as Component Object Model (COM) Privileges, AuthenticationLevel, and ImpersonationLevel.

SWbemServices

Creates, updates, and retrieves instances or classes.

SWbemServicesEx

Extends the functionality of SWbemServices. This object adds the Put and PutAsync methods to allow a class or instance to be saved to multiple namespaces.

SWbemSink

Receives the results of asynchronous operations and event notifications, which are used by client applications.



Previous Page
Next Page