Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.42 KB

sqlsrv-get-config.md

File metadata and controls

43 lines (32 loc) · 1.42 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords apiname apitype
sqlsrv_get_config
sqlsrv_get_config
David-Engel
v-davidengel
01/19/2017
sql
connectivity
reference
API Reference, sqlsrv_get_config
sqlsrv_get_config
sqlsrv_get_config
NA

sqlsrv_get_config

[!INCLUDEDriver_PHP_Download]

Returns the current value of the specified configuration setting.

Syntax

  
sqlsrv_get_config( string $setting )  

Parameters

$setting: The configuration setting for which the value is returned. For a list of configurable settings, see sqlsrv_configure.

Return Value

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.

Remarks

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.

See Also

SQLSRV Driver API Reference

sqlsrv_configure

sqlsrv_errors