ConfigMgrInventoryMessage.BuildInventoryMessage Method (Collection<InventoryReportBodyElement>)
Constructs an inventory report from an InventoryReportBodyElement object array.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public InventoryReport BuildInventoryMessage(
Collection<InventoryReportBodyElement> reportBodyObjects
)
public:
InventoryReport^ BuildInventoryMessage(
Collection<InventoryReportBodyElement^>^ reportBodyObjects
)
Public Function BuildInventoryMessage (
reportBodyObjects As Collection(Of InventoryReportBodyElement)
) As InventoryReport
Parameters
reportBodyObjects
Type: System.Collections.ObjectModel.Collection<InventoryReportBodyElement>The report body objects.
Return Value
Type: Microsoft.ConfigurationManagement.Messaging.Messages.InventoryReport
See Also
BuildInventoryMessage Overload
ConfigMgrInventoryMessage Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top