Link to home
Start Free TrialLog in
Avatar of taylorrr
taylorrr

asked on

COM+ and collections

Hello,
I am doing some experimentation with COM+ passing recordsets between clients and components etc. What I wish to know is - if I pass back a collection from a component running on a COM+ server to a client on another machine, do I just get the reference to the collection on the server or do I get the actual collection passed back to the client, is it the same scenario for a recordset and is there any advantages/disadvantages to passing back a recordset as opposed to a collection or vice versa.

Thank you in advance,

Regards,

Ray.
ASKER CERTIFIED SOLUTION
Avatar of gbaren
gbaren
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ianouii
ianouii

when u pass the collection to the client, ofcoz u'll have the full contents of the collection. It acts exactly the same as recordset.

the different between recordset & collection are:
collection:
2 dimentional.
fast reference when recall back.
takes more memory
can't support different types of data type in 1 dimention

recordset:
1 dimentional
slower reference when recall back.
take lesser memory
supports variety types of data type in 1 dimention.

good luck.
Avatar of DanRollins
Hi taylorrr,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days.  I will suggest to:

    Split points between: gbaren and ianouii

taylorrr, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will followup.

EXPERTS: Please post closing recommendations.
==========
DanRollins -- EE database cleanup volunteer
thanks.
Per recommendation, force-accepted.

Netminder
CS Moderator

ianouii: points for you at https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20317591