Sending a Data Recordset in a Message (COM) (Windows Embedded CE 6.0)
1/6/2010
Data recordsets can be sent and retrieved using a combination of Message Queuing and Microsoft Remote Data Service (RDS).
Note
RDS is used to transport ActiveX Data Object recordsets from a server to a client computer. The resulting recordset is cached on the client computer and disconnected from the server.
To send a data recordset in a message
Make sure RDS and Microsoft SQL Server are installed on your computer.
Make sure SQL Server services has been stated.
Add references to the appropriate object libraries.
Create a destination queue and open it with send access.
Create the recordset.
Create and send a message and then set the body of the message to the ActiveX Data Object recordset.
Open the queue with receive access and retrieve the message.
Create a new recordset using the body of the retrieved message.
See Also
Concepts
Sending Messages to a Queue (COM)
MSMQ COM Support
Using the COM Components
MSMQ Security