By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,670 Members | 1,501 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,670 IT Pros & Developers. It's quick & easy.

ADODB OpenSchema - 2nd & 3rd param

P: n/a
Hi All!

I can't find any good equivalent of VB6 params from samples
which should be used as a 2nd and 3rd parameter in method:

Connection.OpenSchema(ADODB.SchemaEnum schema
, object criteria
, object schemaId);

MS .NET wrapper of ADODB force me to declare every parameter
of this method.
Only VB6 relation i found:

criteria - VB6 "Array" object e.g. Array(Empty, Empty, tableName, Empty)
schemaId - string with schema GUID.

Any combination i try to put gives me an Exception:
"Specified array was not of expected type"

Thanx for any help!

Marcin
Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.