Connection Timeout
Posted: Wed 11 Aug 2021 23:41
Hi,
I can not seem to get the Connection Timeout to work.
The Connection Timeout does not have any impact.
SQLConnection1.DriverName := 'DevartSQLServer';
SQLConnection1.LibraryName := 'dbexpsda40.dll';
SQLConnection1.VendorLib := 'msoledbsql';
SQLConnection1.GetDriverFunc := 'getSQLDriverSQLServer';
SQLConnection1.Params.Clear;
SQLConnection1.Params.Add('User_Name=wsA');
SQLConnection1.Params.Add('Password=XXX');
SQLConnection1.Params.Add('HostName=jwindows.net');
SQLConnection1.Params.Add('Database=WDB');
SQLConnection1.Params.Add('Connection Timeout=3');
SQLConnection1.Open;
TK
I can not seem to get the Connection Timeout to work.
The Connection Timeout does not have any impact.
SQLConnection1.DriverName := 'DevartSQLServer';
SQLConnection1.LibraryName := 'dbexpsda40.dll';
SQLConnection1.VendorLib := 'msoledbsql';
SQLConnection1.GetDriverFunc := 'getSQLDriverSQLServer';
SQLConnection1.Params.Clear;
SQLConnection1.Params.Add('User_Name=wsA');
SQLConnection1.Params.Add('Password=XXX');
SQLConnection1.Params.Add('HostName=jwindows.net');
SQLConnection1.Params.Add('Database=WDB');
SQLConnection1.Params.Add('Connection Timeout=3');
SQLConnection1.Open;
TK