Re: Connection Collection



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 the
Connection objects in use and loop through each to do something with them
(eg. close each in turn).

Dan


.



Relevant Pages

  • Re: Connection Collection
    ... And a Connection objection does have a collection - 2 in fact - the Errors ... and Properties collection. ... nonsense. ...
    (microsoft.public.data.ado)
  • Re: Connection Collection
    ... And a Connection objection does have a collection - 2 in fact - the Errors ... and Properties collection. ... Stephen Howe ...
    (microsoft.public.data.ado)
  • Re: DHCP Problem
    ... What happens if you start Remote Access Connection Manager manually - logon ... "Dan" wrote in message ... > What does CBeyond have to do with it? ...
    (microsoft.public.windowsxp.general)
  • Re: question about limitations etc over vpn?
    ... I agree with Dan on performance issues connecting to remote data via a VPN. ... > stored at the other end of a VPN connection no matter how fast the ...
    (microsoft.public.fox.programmer.exchange)
  • Re: question about limitations etc over vpn?
    ... DO NOT try to run the VFP executable on a workstation with the data ... stored at the other end of a VPN connection no matter how fast the ... Dan Williams wrote: ... > Right now this ADSL connection affords them the connectivity to use ...
    (microsoft.public.fox.programmer.exchange)