The information in this article applies to:
SUMMARYThe Idxadovc.exe sample demonstrates how to use an ADO Recordset with the OLE DB Provider for Index Server (MSIDXS) in a Visual C++ 5.0 application to query Index Server 2.0. MORE INFORMATIONThe following file is available for download from the Microsoft
Download Center. Click the file name below to download the file: IDXADOVC.EXEFor more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. Using the Sample FileThe sample uses an ActiveX Data Objects (ADO) command to submit a query to the Index Server using the MSIDXS OLE DB provider.Here is the sample code:
The sample also displays MSIDXS provider properties. Index Server 2.0 and
the MSIDXS OLE DB provider ship with Windows NT 4.0 Option Pack.
For more information on Index Server, refer to Index Server documentation in Windows NT Option Pack documentation. The chapter "SQL Access to Index Server Data" is the best reference for SQL query syntax for Index Server. This sample code is based on the Adovc.exe sample mentioned in the REFERENCES section. REFERENCESFor more information, please see the following article in the Microsoft Knowledge Base: Q220152 Sample: ADOVC1 Simple ADO/VC++ Application Additional query words:
Keywords : kbfile kbADO kbIdxServ kbGrpMDAC kbDSupport oledbProvIndex kbGrpODBC |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |