Re: Connection Collection
- From: "Daniel Crichton" <msnews@xxxxxxxxxxxxxxxx>
- Date: Thu, 23 Nov 2006 15:26:14 -0000
Stephen wrote on Wed, 22 Nov 2006 14:06:32 -0000:
No.
Yes. The OP did not say Connections (plural) but Connection (single).
And a Connection objection does have a collection - 2 in fact - the Errors
and Properties collection.
See
http://msdn2.microsoft.com/en-us/library/ms681546.aspx
He should be able to "walk" the Connection object's Property collection
which will contain more properties with an Open connection than a Closed
connection.
Stephen Howe
From the OP's question it appears he's after a way to enumerate theConnection objects in use and loop through each to do something with them
(eg. close each in turn).
Dan
.
- References:
- Connection Collection
- From: AK
- Re: Connection Collection
- From: Ralph
- Re: Connection Collection
- From: Stephen Howe
- Connection Collection
- Prev by Date: Re: ADO Data Control = changing ConnectionString at runtime
- Next by Date: Re: Connection Collection
- Previous by thread: Re: Connection Collection
- Next by thread: Re: Connection Collection
- Index(es):
Relevant Pages
|
|