ConfigMgrInventoryMessage.BuildInventoryMessage Method (Collection<InventoryReportBodyElement>, Boolean)

 

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

  • requireXmlHeader
    Type: System.Boolean

    If 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