| title | sqlsrv_get_config | ||
|---|---|---|---|
| description | sqlsrv_get_config | ||
| author | David-Engel | ||
| ms.author | davidengel | ||
| ms.date | 01/19/2017 | ||
| ms.service | sql | ||
| ms.subservice | connectivity | ||
| ms.topic | reference | ||
| helpviewer_keywords |
|
||
| apiname | sqlsrv_get_config | ||
| apitype | NA |
[!INCLUDEDriver_PHP_Download]
Returns the current value of the specified configuration setting.
sqlsrv_get_config( string $setting )
$setting: The configuration setting for which the value is returned. For a list of configurable settings, see sqlsrv_configure.
The value of the setting specified by the $setting parameter. If an invalid setting is specified, false is returned and an error is added to the error collection.
If false is returned by sqlsrv_get_config, you must call sqlsrv_errors to determine if an error occurred or if false is the value of the setting specified by the $setting parameter.