[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds an instance to the inventory store for the message

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

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
void 
AddInstanceToInventory(
	

InventoryInstance 
instance
)
Public 
Sub 
AddInstanceToInventory ( _
	
instance 
As 

InventoryInstance _
)
public:
void 
AddInstanceToInventory(
	

InventoryInstance^ 
instance
)

Parameters

instance
InventoryInstance
Instance to add to the hardware inventory instance collection

See Also