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 » DBConnectionContext interface

DBConnectionContext interface Next Page

GetConnection method


Syntax

iAnywhere.MobiLink.Script.DBConnection GetConnection( )
Member of iAnywhere.MobiLink.Script.DBConnectionContext

Remarks

Returns the existing connection to the MobiLink consolidated database. The connection is the same connection that MobiLink uses to execute SQL scripts.

This connection must not be committed, closed or altered in any way that would affect the MobiLink server use of the connection. The connection returned is only valid for the lifetime of the underlying MobiLink connection. Do not use the connection after the end_connection event has been called for the connection.

If a server connection with full access is required, use ServerContext.makeConnection().