Procedure
ISyncComponent also provides minimal design support in the Standard Framework. This basic support enables you to drag and drop into a form, and to modify the ConnectionString (server, port, and user name) and TargetPath (target directory for the data) properties. When developing a Visual Studio Windows Application, be sure to add the DB2 Everyplace component IBM.Data.Sync.DB2e.dll to your Toolbox.
ISyncComponent comp1 = new ISyncComponent(); comp1.ConnectionString = SERVER=localhost;PORT=80;UID=username;PWD=password; comp1.TargetPath = data; comp1.Sync(); comp1.Close();
Related concepts
Related tasks