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.
 
Back
Top