Hello,
Ok..
Actually hint is in your last post itself (TABLE_TYPE only Table).
Here is a code, just change two lines in earlier code:
Dim tblrestrictions As String() = New String() {Nothing, Nothing, Nothing, "TABLE"}
Dim dt As DataTable = olecon.GetSchema("tables", tblrestrictions)
Note:
Restrictions are a string array in the following format:
{TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, TABLE_TYPE}.
Regards
Kuldeep Deokule
MCSD.NET
Blog: http://dkuldeep.blogspot.com
This posting is provided "AS IS" with no warranties, and confers no rights.