getOleDbSchema

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I want to get the tables,columns and constraints in a database.
I understand that the getOleDbSchema method of the Connection object helps.
Could anyone help me with code samples or direct me to appropriate links where I could find out more ?

Thank You
Julian
 
Hi,

There is really no greate deal with GetOleDbSchema.
The first parameter is the type of schema you want while the other (object
array) is the filter.
What it returns is a bit driver specific, speccialy flags and other occult
fields - so you will have to see the results by yourself.
You might also check what does .net help offer on
OleDbConnection.GetOleDbSchemaTable Method
topic.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top