Options

How does the Utils.ExecuteBlock work?

dhivya80dhivya80 Posts: 6
edited April 1, 2006 3:00PM in SQL Toolkit Previous Versions
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

Comments

  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hello,

    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.
Sign In or Register to comment.