Compartilhar via


SyncBody

4/8/2010

SyncBody contains one or more DM commands.

Code Example

The following example shows the body component of a DM Message. In this example SyncBody contains only one command, Replace. This is indicated by the <Final /> tag which occurs immediately after the terminating tag for the Replace command.

<SyncBody>
        <!-- change a registry settings -->
        <Replace>
            <CmdID>2</CmdID>
            <Item>
                <Target>
                    <LocURI>./Vendor/MSFT/Registry/SampleKey</LocURI>
                </Target>
                <Data>16</Data>
            </Item>
        </Replace>
        <Final />
</SyncBody>

See Also

Concepts

OMA DM Provisioning Files
SyncHdr
OMA DM Protocol Command Elements