共用方式為


Configuration Manager Software Inventory (SINV) 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

A Configuration Manager 2007 software inventory message is used to pass a client software inventory report to the software inventory endpoint.

Input Message XML

The following input XML describes the input message XML for hardware inventory.

<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>

        <InventoryAction>

            <InventoryActionID></InventoryActionID>

            <Description></Description>

        </InventoryAction>

    </ReportHeader>

    <ReportBody>

        < Instance>

            <FileSystemFile>

                <CompanyName></CompanyName>

                <FileDescription></FileDescription>

                <FileVersion></FileVersion>

                <LastWriteDate></LastWriteDate>

                <Name></Name>

                <Path></Path>

                <ProductLanguage></ProductLanguage>

                <ProductName></ProductName>

                <ProductVersion></ProductVersion>

                <Size></Size>

            </FileSystemFile>

        </Instance>

    </ReportBody>

</Report>

Output Message XML

There is no XML returned.

Remarks

You use ISmsMessaging::Post Method to pass the message to the software inventory manager endpoint, MP_SinvEndpoint.

You set the target endpoint with ISmsMessage::SetTargetEndpoint Method.

The software inventory report header is passed in Post.pRequest.

The report body is passed by using ISmsMessageAttachment Interface. The report body attachment must be named {00000000-0000-0000-0000-000000000002}.

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_NATIVEMODE, 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.

See Also

Concepts

Configuration Manager Management Point Interface
Configuration Manager Management Point Message Schema