I think you can achieve that by using DMO in the first place or use PROFILER while starting the agents from EM to check underline code used. Satya SKJ Microsoft SQL Server MVP Contributing Editor & Forums Moderator http://www.SQL-Server-Performance.Com This posting is provided “AS IS†with no rights for the sake of knowledge sharing.
I see, thanks for your guidance.<br />I will try that out [<img src='/community/emoticons/emotion-1.gif' alt='' />]