It's not the connection you need to change it's the database.
You'll have to first kill any jobs that are running on it,
then set in in exclusive single user mode, or resticted access.
I know how to do that through enterprise manage, but not via an ADO connection.
That should give you a start.
Whats the reason why you need exclusive access if I may ask?
David
|