Freigeben über


Configuration Manager Software Inventory File Collection Message XML

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

In Configuration Manager 2007, the software inventory file collection message passes file software inventory file collection data to the software inventory file collection endpoint.

Input XML

<Report>

    <ReportHeader>

        <Identification>

            <Machine >

                <ClientInstalled></ClientInstalled>

                <ClientType></ClientType>

                <ClientID></ClientID>

                <ClientVersion></ClientVersion>

                <NetBIOSName></NetBIOSName>

                <CodePage></CodePage>

                <SystemDefaultLCID></SystemDefaultLCID>

            </Machine>

        </Identification>

        <ReportDetails>

            <ReportContent></ReportContent>

            <ReportType></ReportType>

            <Date></Date>

            <Version></Version>

            <Format ></Format>

        </ReportDetails>

        <FileCollectionActionID>

            <FileCollectionActionID></FileCollectionActionID>

            <Description></Description>

        </FileCollectionAction>

        </ReportHeader>

    <ReportBody>

        <CollectedFile>

            <LastWriteDate></LastWriteDate>

            <Name></Name>

            <Path></Path>

            <Size></Size>

        </CollectedFile>

        <CollectedFileSum></CollectedFileSum>

    </ReportBody>

</Report>

Output XML

There is no XML returned.

Remarks

You use ISmsMessaging::Post Method to pass the message to the software inventory manager endpoint, MP_SinvCollFileEndpoint. You set the target endpoint with ISmsMessage::SetTargetEndpoint Method.

The message body is the file collection report. You can use any of the body assignment functions in ISmsMessage Interface to assign the message body.

Each collected file in the report is stored as an attachment. The name of the attachment must be the ID of the collected file. You can use either of the attachment assignment functions in ISmsMessage Interface to add the attachment.

The following security flags can be applied to the message:

Security Mode Required Optional

Mixed

MPAPI_SECURITY_FLAG_MIXED_MODE

MPAPI_SECURITY_FLAG_SIGN_MESSAGE

MPAPI_SECURITY_FLAG_ENCRYPT_MESSAGE

Native

MPAPI_SECURITY_FLAG_NATIVE_MODE

MPAPI_SECURITY_FLAG_SIGN_MESSAGE

MPAPI_SECURITY_FLAG_ENABLE_CRL_CHECKING

Use ISmsMessage4::SetSecurityFlags Methodto set the security flags for the message.

For information about MPAPI security flags, see MPAPI_SECURITY_FLAGS Enumeration.