I'm trying to right VB.NET code to create backups of several databases.
The backup-procedure (already written) asks for server, databasename and backup-filename, and returns a string ("Success" or "Error") after backup has been made.
Because each backup can take several minutes, and because the databases can be located on different servers, it is better to create the backups in separated threads.
I already know how to work with multiple threads, and how to wait for all threads to finish, but how can I pass the arguments of server, database en filename to the thread, and how can I read the return-string ?
Thanks already !