Редагувати

Поділитися через


SWbemMethodSet object

An SWbemMethodSet object is a collection of SWbemMethod objects. Items are retrieved using the Item method. For more information, see Accessing a Collection. This object cannot be created by the VBScript CreateObject call.

Note

In this version of the API, write access to method information is not supported. If you want to define methods or modify existing method definitions, you can define the method changes in a MOF file and submit the changes using the MOF Compiler. Alternatively, use the WMI COM API.

Members

The SWbemMethodSet object has these types of members:

Methods

The SWbemMethodSet object has these methods.

Method Description
Item Retrieves an SWbemMethod object from the collection. This is the default automation method of this object.

Properties

The SWbemMethodSet object has these properties.

Property Access type Description
Count
Read-only
The number of items in the collection.

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_SWbemMethodSet
IID
IID_ISWbemMethodSet

See also

Scripting API Objects