Der folgende Code veranschaulicht, wie Sie die Synchronisation in einer in C# geschriebenen Anwendung initiieren.
private void Sync( ULConnection conn ) { // Sync try { // setup to synchronize a publication named "high_priority" conn.SyncParms.Publications = "high_priority"; // Set the synchronization parameters conn.SyncParms.Version = "Version1"; conn.SyncParms.StreamParms = ""; conn.SyncParms.Stream = ULStreamType.TCPIP; conn.SyncParms.UserName = "51"; conn.Synchronize(); } catch (System.Exception t) { MessageBox.Show("Exception: " + t.Message); } } |
![]() |
Kommentieren Sie diese Seite in DocCommentXchange.
|
Copyright © 2013, SAP AG oder ein SAP-Konzernunternehmen. - SAP Sybase SQL Anywhere 16.0 |