Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULDatabaseManager class

DropDatabase method Next Page

SetActiveSyncListener method

Specifies the listener object used to process ActiveSync calls from the MobiLink provider for ActiveSync.


Visual Basic

Public Sub SetActiveSyncListener( _
ByVal appClassName As String, _
ByVal listener As ULActiveSyncListener _


public void SetActiveSyncListener(
string appClassName,
ULActiveSyncListener listener


The parameter appClassName is the unique identifier used to identify the application. The application can only use one appClassName at a time. While a listener is registered with a particular appClassName, calls to SetServerSyncListener or SetActiveSyncListener with a different appClassName fail.

To remove the ActiveSync listener, call SetActiveSyncListener with a null reference (Nothing in Visual Basic) as the listener parameter.

To remove all listeners, call SetServerSyncListener with a null reference (Nothing in Visual Basic) for all parameters.

Applications should remove all listeners prior to exiting.


For an example of SetActiveSyncListener, see the ActiveSyncInvoked method.

See also