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 » Java による同期スクリプトの作成 » Java 用 Mobile Link サーバ API リファレンス » DBConnectionContext インタフェース

 

getDownloadData メソッド

構文
public DownloadData getDownloadData()
備考

現在の同期に対する DownloadData インスタンスを返します。ダイレクト・ロー・ハンドリング用のダウンロードを作成する場合は、DownloadData クラスを使用してください。

戻り値

現在の同期に対する DownloadData インスタンス

参照

次の例は、DBConnectionContext の getDownloadData メソッドを使用して、現在の同期に対する DownloadData インスタンスを取得する方法を示します。

注意

この例は、_cc という DBConnectionContext インスタンスがあることを前提としています。

// The method used for the handle_DownloadData event.
public void HandleDownload() throws SQLException {
    // get the DownloadData for the current synchronization
    DownloadData my_dd = _cc.getDownloadData();
 
    // ...  
}

// ...