Dela via


Configuration Manager State 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 state message in Configuration Manager 2007 represents the current state of a task, activity, or configuration item.

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

    </ReportHeader>

    <ReportBody>

        <StateMessage>

            <Topic/>

            <State />

            <StateDetails>

                <![CDATA[Text Data]]>

            </StateDetails>

            <UserParameters>

                <Param> </Param>

            </UserParameters>

        </StateMessage>

    </ReportBody>

</Report>

Remarks

You use ISmsMessaging::Post Method to pass the message to the relay endpoint, MP_RelayEndpoint. You set the target endpoint with ISmsMessage::SetTargetEndpoint Method.

You must set the file type property to SMX by using ISmsMessage::SetProperty Method.

Unlike other relay endpoint messages, the state message XML is contained in the body of the message, rather than being an 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 Method to 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 Message Schema
Configuration Manager State Message XML