Thanks for the nice suggestion ,its really good. But here i was doing it by the maintenance plan name so didn't want to use package type.
Regards
Shashank Srivastava
MCITP - SQL SERVER 2008
INDIA
Follow me @ http://shashanksrivastavasqldba.blogspot.com/