Page 1 of 1

OLEDBProvider=prAuto

Posted: Sat 16 May 2015 03:15
by FredS
Hi,

With "SQL Server.OLEDBProvider=prAuto" how can we tell which provider is actually being used by the connection?

thanks

Fred

Re: OLEDBProvider=prAuto

Posted: Mon 18 May 2015 12:23
by azyk
When the connection property TUniConnection.SpecificOptions.Values['SQL Server.OLEDBProvider'] is set to 'prAuto', this means that SQL Native Client provider will be used if it is installed on the client PC. Otherwise, UniDAC will use the standard OLEDB provider.

After establishing connection, you can learn the version number of the provider used by this connection from the TUniConnection.ClientVersion property value.