ado.net equivalent of ado code

  • Thread starter Thread starter John
  • Start date Start date
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
 
John-

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

-Cor
 
¤ 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)
 
Back
Top