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

SQL Anywhere 11.0.1 (Deutsch) » MobiLink - Serveradministration » MobiLink-Server-APIs » Synchronisationsskripten in Java erstellen » Referenz der MobiLink-Server-API für Java » DBConnectionContext-Schnittstelle

 

getDownloadData-Methode

Syntax
public DownloadData getDownloadData()
Bemerkungen

Gibt eine DownloadData-Instanz für die aktuelle Synchronisation zurück. Verwenden Sie die DownloadData-Klasse, um den Download für direkte Zeilenbehandlung zu erstellen.

Rückgabe

Eine DownloadData-Instanz für die aktuelle Synchronisation.

Siehe auch
Beispiel

Im folgenden Beispiel wird gezeigt, wie Sie mit der Methode DBConnectionContext getDownloadData eine DownloadData-Instanz für die aktuelle Synchronisation abrufen.

Hinweis

Bei diesem Beispiel wird vorausgesetzt, dass eine DBConnectionContext-Instanz namens _cc vorhanden ist.

// 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();
 
    // ...  
}

// ...