MS SQL Server parameter

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Cogito
Posts: 24
Joined: Sat 05 Jul 2008 07:15

MS SQL Server parameter

Post by Cogito » Tue 03 Feb 2009 10:14

Hello,

how is it possible to define for example the authentication type in the uniconnection component at runtime? Can you give me a short delphi sample?
Thanx

Joao Cadilhe
Posts: 27
Joined: Wed 30 Jan 2008 19:29
Location: Brazil

Post by Joao Cadilhe » Tue 03 Feb 2009 14:43

UniConnection.SpecificOptions.Values['Authentication'] := 'AuServer';
or
UniConnection.SpecificOptions.Values['Authentication'] := 'AuWindows';

You can see all available specific options for Sql Server in Unidac Help topic:

"Using UniDAC with SQL Server"



Joao Cadilhe.

Post Reply