Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SQL.GetConnectionOption
Gets a string value of a specific connection option.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SQL | 2.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SQL.GetConnectionOption"; Connection; Key ) More
Parameters
Parameter | Description | Example |
---|---|---|
Connection | The connection reference number gained with SQL.NewConnection. | $Connection |
Key | A string key of the connection or command option. | "" |
Result
Returns the value or error message.
Description
Gets a string value of a specific connection option.Call this method to get value(s) of server specific connection or command options. See Server specific notes. If an option is not specified in connection objects, the Library takes the default option value.
see also:
https://www.sqlapi.com/ApiDoc/class_s_a_connection.html
See also
Release notes
- Version 8.4
- Added SQL.GetCommandOptions, SQL.GetConnectionOptions, SQL.GetFieldOptions and SQL.GetParamOptions functions to query options list.
This function is free to use.
Created 18th August 2014, last changed 10th January 2020