Unsubscribe

Removes an existing subscription to a server package. An unsubscription message is sent to the SAP Mobile Server and the application receives a subscription request result notification from the SAP Mobile Server as a notification. The data on the local database is cleaned. If the unsubscribe succeeds, the OnSubscribeSuccess method of the ICallbackHandler is invoked. If it fails, the OnSubscribeFailure method of the ICallbackHandler is invoked.

The device application must already have a subscription with the server.

Syntax

public static void Unsubscribe()

Parameters

Returns

None.

Examples