Hi
What is the correct syntax for Specificoptions ?
According to the manual, it could be either
SpecificOptions.Values['SQL Server.Authentication'] := 'auWindows'
or
SpecificOptions.Add('SQL Server.Authentication=auWindows');
or
SpecificOptions.Add('Authentication=auWindows');
TIA Jens Lund
Correct syntax ?
Hi Jens,
all examples you stated are valid.
Your example 1 and 2 are almost the same, see TStrings help (example 2 would update an existing entry in the list if already present, example 3 would add in any case).
Example 3 just means that the Unidac option itself shall be used for all supported server types, not only SQL Server. It could also be like "Oracle.Optionname=value". However, not all options are available for all server types.
Regards,
Tobias
all examples you stated are valid.
Your example 1 and 2 are almost the same, see TStrings help (example 2 would update an existing entry in the list if already present, example 3 would add in any case).
Example 3 just means that the Unidac option itself shall be used for all supported server types, not only SQL Server. It could also be like "Oracle.Optionname=value". However, not all options are available for all server types.
Regards,
Tobias