Hi,
One of my team member was porting a Visual Basic function into VB.NET. We were struck up while retrieving the DBMS Name property from the connection object. Actually in VB, the ADODB.connection object's properties will have an item called DBMS Name which will hold the database name like "Oracle" , "Access" , "SQL Server" like that based on the database that I connect.
I wonder if there is any equivalent property in ADO.NET. The Server Version property of ODBCConnection object returns "8.0...." in case of SQL Server and returns "09.01.0000 Oracle9i Enterprise Edition Release 9.2.0.1.0" in case of oracle. This is not as precise as it's ADODB counterpart.
I'm hardly in need of a solution or workaround for this scenario. Can anybody help.
Thanks in advance.
Hi Prathap,
The .Net Framework Data Access and Storage forum is the best forum with which to seek your answer (I see that you've already posted this question there).
Il-Sung.
No comments:
Post a Comment