ado.net equivalent of ado code

J

John

Hi

Is there an ado.net equivalent of below ADO code?

Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset

Set rs = cn.OpenSchema(adSchemaProviderSpecific,,
"{947bb102-5d43-11d1-bdbf-00c04fb92675}")

Many Thanks

Regards
 
C

Cor Ligthert[MVP]

John-

There is simple no equivalent as the recordset is a Com object, not a Net
object,

-Cor
 
P

Paul Clement

¤ Hi
¤
¤ Is there an ado.net equivalent of below ADO code?
¤
¤ Dim cn As New ADODB.Connection
¤ Dim rs As New ADODB.Recordset
¤
¤ Set rs = cn.OpenSchema(adSchemaProviderSpecific,,
¤ "{947bb102-5d43-11d1-bdbf-00c04fb92675}")

No, there is no native method in ADO.NET which enables you to read the Jet User Roster.


Paul
~~~~
Microsoft MVP (Visual Basic)
 

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

Top