0 out of 1 rated this helpful - Rate this topic

SWbemMethod object

You can use the properties of the SWbemMethod object to inspect a single method definition of a WMI object. This object cannot be created by the VBScript CreateObject call.

This object can be used to inspect the definitions of methods. To invoke the methods, you should use either direct access (see Manipulating Class and Instance Information) on an SWbemObject (which is the recommended mechanism) object, or the SWbemServices.ExecMethod 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 COM API for WMI.

Members

The SWbemMethod object has these types of members:

Properties

The SWbemMethod object has these properties.

PropertyAccess typeDescription

InParameters

Read-only

An SWbemObject object whose properties define the input parameters for this method.

Name

Read-only

Name of the method.

Origin

Read-only

Originating class of the method.

OutParameters

Read-only

An SWbemObject object whose properties define the out parameters and return type of this method.

Qualifiers_

Read-only

An SWbemQualifierSet object that contains the qualifiers for this method.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Type library

Wbemdisp.tlb

DLL

Wbemdisp.dll

See also

Scripting API Objects

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.