Hello to all.
I developed a windows service that always have connection to a Oracle database.
I control (KILL) this connection when the service is stopped.
But if the user goes to the task manager and Kill the service the oracle connection remains active!
How can i control this?
Thanks in advance.
I developed a windows service that always have connection to a Oracle database.
I control (KILL) this connection when the service is stopped.
VB.NET:
Protected Overrides Sub OnStop()
' Add code here to perform any tear-down necessary to stop my
service. And kill all db connections.
End Sub
But if the user goes to the task manager and Kill the service the oracle connection remains active!
How can i control this?
Thanks in advance.