Partager via


Msft_MiCommand class

The Msft_MiCommand WMI class encapsulates a command request from a Software Inventory Logging data provider, and exposes the method data in the request.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), AMENDMENT]
class Msft_MiCommand : Msft_MiStream
{
  string NamespaceName;
  string ClassName;
  string MethodName;
  object Input;
  object Parameters;
};

Members

The Msft_MiCommand class has these types of members:

Properties

The Msft_MiCommand class has these properties.

ClassName

Data type: string

Access type: Read-only

Gets the name of the class of method in the command request.

Input

Data type: object

Access type: Read-only

Qualifiers: EmbeddedObject

Gets the arguments for the method in the command request.

MethodName

Data type: string

Access type: Read-only

Gets the name of the method in the command request.

NamespaceName

Data type: string

Access type: Read-only

Windows Server 2012 R2: This property is not available before Windows Server 2016.

The namespace of the data provider.

Parameters

Data type: object

Access type: Read-only

Qualifiers: EmbeddedObject

Gets the parameters for the method in the command request.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\InventoryLogging
MOF
MiStreamProv.mof
DLL
MiStreamProv.dll

See also

Msft_MiStream

Software Inventory Logging WMI Stream Provider Classes