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

SQL Anywhere 10.0.1 » MobiLink - Server Administration » Writing Synchronization Scripts in .NET » MobiLink server API for .NET reference » ServerContext interface

ShutDown method Next Page

ShutdownListener method


event iAnywhere.MobiLink.Script.ShutdownCallback
iAnwyhere.MobiLink.Script.ServerContext sc)
Member of iAnywhere.MobiLink.Script.ServerContext


This event is triggered on shutdown. The following code is an example of how to use this event:

ShutdownCallback callback = new ShutdownCallback( shutdownHandler );
_sc.ShutdownListener += callback;
public void shutdownHandler( ServerContext sc )
_test_out_file.WriteLine( "shutdownPerformed" );