Hello All
I use Following Query To check ConnectionPool Count:
SELECT COUNT(*)FROM(SELECT host_process_id FROM sys.dm_exec_sessions WHERE PROGRAM_NAME = 'MyApplicationName' GROUP BY host_process_id) AS A
this Connection Pool Count changes when User Login, Or Network Failure Or ReConnect Or Laptop Goes to Sleep Mode Or Again Connected etc.
I want some kind of general event notification When This Connection Pool Count Change.
Is there any thing that I can Use in General case? I thought about specific solution But THere are lots of cases when Connection Pool Count change. I want to get Notification in some General Case where all kind of cases covered in my cs file.
So can anybody please help me to solve this issue?
Thanking you in advance..
Regards
Vipul