Exchange Mobility Provider::WipeActiveSyncDevice

The WipeActiveSyncDevice method wipes a Microsoft ActiveSync (mobile) device. The device will wipe the next time the device synchs with the Exchange server.

Arguments

Input argument Required Description

<path>

Yes

The Lightweight directory access protocol (LDAP) path of the user who owns the device. Type=string

<deviceID>

Yes

The ID of the device. Type=string.

<deviceType>

Yes

The type of device (Smartphone or PocketPC). Type=string.

<preferredDomainController>

Yes

The name of the preferred domain controller in the Service Provider domain. Type=string.

Remarks

Rollback

For the WipeActiveSyncDevice method, if rollback occurs, a cancel wipe device command is issued.

Sample Code

Example XML Request

The following is an example of an XML request for the WipeActiveSyncDevice method of the Exchange Mobility Provider:

<request> 
        <procedure> 
                <execute namespace="Exchange Mobility Provider" procedure="WipeActivesyncDevice" impersonate="1"> 
                        <executeData> 
                                <path>LDAP://CN=user@alpineskihouse.com,OU=AlpineSkiHouse, 
                                OU=ConsolidatedMessengerOU=Hosting,DC=Fabrikam,DC=Com</path> 
                                <preferreddomaincontroller>ad01.fabrikam.com 
                                </preferreddomaincontroller> 
                                <deviceID>5342A35B22521</deviceID> 
                                <deviceType>Smartphone</deviceType> 
                        </executeData> 
                        <after source="executeData" destination="data" mode="merge"/> 
                </execute> 
        </procedure> 
</request> 

Example XML Response

No example XML response.

Applies To

Exchange Mobility Provider API for:

  • Hosted Messaging and Collaboration version 3.5

See also

Tasks

Exchange Mobility Provider::CancelActiveSyncDeviceWipe