HOWTO: Use ADO OpenSchema to Retrieve Table Index Information (185979)
The information in this article applies to:
- ActiveX Data Objects (ADO) 1.5
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
This article was previously published under Q185979 SUMMARY If you need to retrieve index information for a table using
ActiveX Data Objects (ADO) you must use a custom stored procedure or the ADO
OpenSchema method. The ADO OpenSchema method simplifies access to the indexes
of a table and provides a universal way to retrieve that information. The
following sample code shows how to retrieve index information for a specific
table using the OpenSchema method. REFERENCES In the Microsoft Developer Network Library, search on:
"OpenSchema Method (ADO)"
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbDatabase kbhowto KB185979 |
---|
|