How does the Utils.ExecuteBlock work?
dhivya80
Posts: 6
Hi,
I am working on a VB.NET Project.I use DLLs from SQL Toolkit 3.x.
Could you please tell me how the Utils.ExecuteBlock works?
I find that, in some cases, when the above command is executed it takes quite long to get out of it and finally freezes the screen. I have to then stop the project to get out of it.
Any help would be appreciated.
Thank you,
Regards,
Dhivya
I am working on a VB.NET Project.I use DLLs from SQL Toolkit 3.x.
Could you please tell me how the Utils.ExecuteBlock works?
I find that, in some cases, when the above command is executed it takes quite long to get out of it and finally freezes the screen. I have to then stop the project to get out of it.
Any help would be appreciated.
Thank you,
Regards,
Dhivya
Comments
ExecuteBlock is a method that runs the SQL Code produced as the result of a synchronization. It accepts an ExecutionBlock -- an internal representation of the SQL Code produced by SQL Compare and Data Compare Engines. Depending on the work involved, yes, this can take awhile!
What you may want to do is use the StatusEventHandler to provide some feedback about the percentage of completion.