Hello,
Do you want the Refresh command event handler? it seems that both of DataConnection Events are not responsible for it.
In Visual Studio Extensibility, we could use the DTE.Events to get the Refresh command event with its GUID and command ID, and then add our subscription to EnvDTE.CommandEvents.BeforeExecute delegate.
About how to get the command set and command ID of a specific command, please refer to this article:
Using EnableVSIPLogging to identify menus and commands with VS 2005 + SP1
And you would like to take a look this similar thread: http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/80d86c9c-5f4a-43e6-a83e-905fe08fd016
Hope that helps.
Sincerely,
Wesley
Please mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.