InventoryActionHardwareInventory Class

 

Represents a software inventory action.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Messages.InventoryAction
    Microsoft.ConfigurationManagement.Messaging.Messages.InventoryActionHardwareInventory

Syntax

[SerializableAttribute]
public sealed class InventoryActionHardwareInventory : InventoryAction
[SerializableAttribute]
public ref class InventoryActionHardwareInventory sealed : InventoryAction
<SerializableAttribute>
Public NotInheritable Class InventoryActionHardwareInventory
    Inherits InventoryAction

Constructors

Name Description
System_CAPS_pubmethod InventoryActionHardwareInventory()

Initializes a new instance of the InventoryActionHardwareInventory class.

System_CAPS_pubmethod InventoryActionHardwareInventory(DateTime)

Initializes a new instance of the InventoryActionHardwareInventory class.

Properties

Name Description
System_CAPS_pubproperty ActionId

Gets or sets the GUID for the task. (Inherited from InventoryAction.)

System_CAPS_pubproperty ActionType

Gets or sets the action type. (Inherited from InventoryAction.)

System_CAPS_pubproperty Description

Gets or sets the description of the inventory action. (Inherited from InventoryAction.)

System_CAPS_pubproperty LastUpdateTime

Gets or sets the last updated time for the inventory.

Important: For hardware inventory, this time must be before the date of the hardware inventory policy on the management point. Otherwise, the resultant hardware inventory will be put into the retry bucket on the management point until the hardware inventory policy is at or later than the date in the ActionTime. (Inherited from InventoryAction.)

System_CAPS_pubproperty LastUpdateTimeString

Gets or sets the last updated time for the inventory. This property is only for serialization. Use LastUpdateTime instead.

The returned time will always be in UTC format. (Inherited from InventoryAction.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top