SWbemServicesEx object

The SWbemServicesEx object extends the functionality of SWbemServices. The Put and PutAsync methods allow a class or an instance to be saved to multiple namespaces or to a different namespace than the one where an instance was created. This object cannot be created by the VBScript CreateObject call.

Members

The SWbemServicesEx object has these types of members:

Methods

The SWbemServicesEx object has these methods.

Method Description
Put Saves the object to the namespace bound to the SWbemServicesEx object and returns an SWbemObjectPath object that contains the path of the object to which the data was written.
PutAsync Saves an object asynchronously to a namespace.

Remarks

The methods in this class can be called in either the semisynchronous mode or the asynchronous mode. For more information, see Calling a Method.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Wbemdisp.h
Type library
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_ISWbemServicesEx
IID
IID_ISWbemServicesEx

See also

Scripting API Objects

Calling a Method