Freigeben über


Configuration Manager Content Location

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, the content location request message requests a list of locations for a package.

Input Message

A ContentLocationRequest message is sent to retrieve a list of locations for a particular package.

<ContentLocationRequest>

    <Package></Package>

    <AssignedSite></AssignedSite>

    <ClientLocationInfo>

        <ADSite></ADSite>

        <IPAddresses>

             <IPAddress></IPAdress>

        </IPAddresses>

     </ClientLocationInfo>

</ContentLocationRequest>

Output Message

A ContentLocationReply message is the XML returned in response to a ContentLocationRequest XML message.

<ContentLocationReply>

    <Sites>

        <Site>

            <MPSite></MPSite>

            <LocationRecords>

                <LocationRecord>

                    <SMBPath></SMBPath>

                    <URL></URL>

                    <ADSite></ADSite>

                    <IPSubnets>

                        <IPSubnet></IPSubnet>

                    </IPSubnets>

                    <Metric></Metric>

                </LocationRecord>

            </LocationRecords>

        </Site>

    </Sites>

</ContentLocationReply>

Remarks

You use ISmsMessaging::Invoke Method to pass the message to the location manager endpoint, MP_LocationManager. You set the target endpoint with ISmsMessage::SetTargetEndpoint Method.

The software inventory report header is passed in the **Invoke.**pRequest parameter.

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

None.

Native

MPAPI_SECURITY_FLAG_NATIVE_MODE

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 Location Manager Message XML
Configuration Manager Management Point Message Schema
Configuration Manager Management Point Interface
Configuration Manager Management Point Interface