ConfigMgrInventoryMessage.BuildInventoryMessage Method (InventoryReportBodyElement, Boolean)
Constructs an inventory report from an InventoryReportBodyElement object by using default settings.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public InventoryReport BuildInventoryMessage(
InventoryReportBodyElement reportBodyObjects,
bool requireXmlHeader
)
public:
InventoryReport^ BuildInventoryMessage(
InventoryReportBodyElement^ reportBodyObjects,
bool requireXmlHeader
)
Public Function BuildInventoryMessage (
reportBodyObjects As InventoryReportBodyElement,
requireXmlHeader As Boolean
) As InventoryReport
Parameters
reportBodyObjects
Type: Microsoft.ConfigurationManagement.Messaging.Messages.InventoryReportBodyElementThe 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