There are online resources available on how to do this and more with LSXLC.
The two primary ones are as follows:
Lotus Connector LotusScript Extensions Guide (reference material for all LSXLC classes and methods):
http://publib-b.boulder.ibm.com/lotus/c2724240.nsf
Lotus Connector and Connectivity Guide (Guide to all supported connectors, including examples of using them with LSXLC)
http://publib-b.boulder.ibm.com/lotus/c2398640.nsf
Chapter 9 of the following redbook also has very useful data:
http://www.redbooks.ibm.com/redbooks/pdfs/sg246067.pdf