Partager via


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

  1. Make sure RDS and Microsoft SQL Server are installed on your computer.

  2. Make sure SQL Server services has been stated.

  3. Add references to the appropriate object libraries.

  4. Create a destination queue and open it with send access.

  5. Create the recordset.

  6. Create and send a message and then set the body of the message to the ActiveX Data Object recordset.

  7. Open the queue with receive access and retrieve the message.

  8. 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

Other Resources

Message Queuing