In Configuration Manager, the InventoryAction class is a client Windows Management Instrumentation (WMI) class that associates a set of queries with reporting details, tying together the item to report and the destination of the report.

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

Class InventoryAction : SMS_InventoryAgent_Policy
{
	UInt32 DefaultTimeout;
	String Description;
	String InventoryActionID;
	String InventoryActionLastUpdateTime;
	String PolicyID;
	String PolicyInstanceID;
	UInt32 PolicyPrecedence;
	String PolicyRuleID;
	String PolicySource;
	String PolicyVersion;
	String ReportDestination;
	UInt32 ReportTimeout;
	String ReportType;
};

Methods

The InventoryAction class does not define any methods.

Properties

DefaultTimeout


Data type: UInt32Access type: Read/WriteQualifiers: NoneMaximum time, by default, that the agent waits for each InventoryDataItem class query before canceling the query. The individual InventoryDataItem instances can override this default timeout.
Description


Data type: StringAccess type: Read/WriteQualifiers: NoneText field that describes the inventory action. Possible values are:
  • Hardware

  • Software

  • Discovery

InventoryActionID


Data type: StringAccess type: Read/WriteQualifiers: [realkey]Unique ID for the inventory action. Possible values are:

Discovery

{00000000-0000-0000-0000-000000000003}

Hardware Inventory

{00000000-0000-0000-0000-000000000001}

Software Inventory

{00000000-0000-0000-0000-000000000002}

SoftwareFileCollection

{00000000-0000-0000-0000-000000000010}

IDMIF collection

{00000000-0000-0000-0000-000000000011}

InventoryActionLastUpdateTime


Data type: StringAccess type: Read/WriteQualifiers: NoneTimestamp of the last update to the InventoryAction instance.
PolicyID


Data type: StringAccess type: Read/WriteQualifiers: [key] Unique ID of the policy.
PolicyInstanceID


Data type: StringAccess type: Read/WriteQualifiers: [key] Unique ID of the policy instance.
PolicyPrecedence


Data type: UInt32Access type: Read/WriteQualifiers: NonePrecedence for the policy.
PolicyRuleID


Data type: StringAccess type: Read/WriteQualifiers: Key Unique ID of the rule used to create the policy.
PolicySource


Data type: StringAccess type: Read/WriteQualifiers: [key] Source of the policy.
PolicyVersion


Data type: StringAccess type: Read/WriteQualifiers: [key] Version of the policy.
ReportDestination


Data type: StringAccess type: Read/WriteQualifiers: NoneDestination address for the generated report.
ReportTimeout


Data type: UInt32Access type: Read/WriteQualifiers: NoneMaximum time that the client messaging framework attempts to transmit the report if the destination endpoint is unreachable.
ReportType


Data type: StringAccess type: Read/WriteQualifiers: NoneType of inventory report. Possible values are:

Full

Report contains all instances collected by the associated InventoryDataItem queries.

Delta

Report contains instances that have changed since the last report

Resync

Report contains instances in full report and also is triggered by a site policy resynchronization request

Remarks

Three predefined inventory actions are provided through the site policy: hardware inventory, data discovery, and software inventory. For each of these inventory actions, the Inventory Agent generates a report by using the associated InventoryDataItem Client WMI Class queries and sends the generated report to the specified destination.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.