Partager via


InventoryAction Class

 

Represents inventory action information as part of the report header.

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.InventoryActionDataDiscoveryRecord
    Microsoft.ConfigurationManagement.Messaging.Messages.InventoryActionFileCollection
    Microsoft.ConfigurationManagement.Messaging.Messages.InventoryActionHardwareInventory
    Microsoft.ConfigurationManagement.Messaging.Messages.InventoryActionSoftwareInventory

Syntax

[SerializableAttribute]
public class InventoryAction
[SerializableAttribute]
public ref class InventoryAction 
<SerializableAttribute>
Public Class InventoryAction

Constructors

Name Description
System_CAPS_pubmethod InventoryAction()

Initializes a new instance of the InventoryAction class.

System_CAPS_pubmethod InventoryAction(String, String, String)

Initializes a new instance of the InventoryAction class.

System_CAPS_pubmethod InventoryAction(String, String, String, Nullable<DateTime>)

Initializes a new instance of the InventoryAction class.

Properties

Name Description
System_CAPS_pubproperty ActionId

Gets or sets the GUID for the task.

System_CAPS_pubproperty ActionType

Gets or sets the action type.

System_CAPS_pubproperty Description

Gets or sets the description of the inventory action.

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.

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.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(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