Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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,
bool requireXmlHeader
)
public:
InventoryReport^ BuildInventoryMessage(
Collection<InventoryReportBodyElement^>^ reportBodyObjects,
bool requireXmlHeader
)
Public Function BuildInventoryMessage (
reportBodyObjects As Collection(Of InventoryReportBodyElement),
requireXmlHeader As Boolean
) As InventoryReport
Parameters
reportBodyObjects
Type: System.Collections.ObjectModel.Collection<InventoryReportBodyElement>The report body objects.
requireXmlHeader
Type: System.BooleanIf true, an XML header is required.
Return Value
Type: Microsoft.ConfigurationManagement.Messaging.Messages.InventoryReport
See Also
BuildInventoryMessage Overload
ConfigMgrInventoryMessage Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top