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

SQL Anywhere 11.0.1 (日本語) » Mobile Link - サーバ管理 » Mobile Link サーバ API » .NET での同期スクリプトの作成 » .NET 用 Mobile Link サーバ API リファレンス » DBConnectionContext インタフェース

 

GetConnection メソッド

構文
iAnywhere.MobiLink.Script.DBConnection GetConnection( )
Member of iAnywhere.MobiLink.Script.DBConnectionContext
備考

Mobile Link 統合データベースへの既存の接続を返します。この接続は、Mobile Link が SQL スクリプトの実行に使用するものと同じです。

この接続は、Mobile Link サーバのこの接続での使用に影響する方法でコミット、終了、または変更しないでください。返される接続は、基本となる Mobile Link 接続の期間中にのみ有効です。接続に対して end_connection イベントが呼び出された後は、その接続を使用しないでください。

フル・アクセス権を持つサーバ接続が必要な場合、ServerContext.makeConnection() を使用してください。