(No version information available, might only be in Git)
sqlsrv_configure — Altera as configurações de tratamento de erros e registro do driver
Altera as configurações de tratamento de erros e registro do driver.
settingO nome da configuração a ser definida. Os valores possíveis são "WarningsReturnAsErrors", "LogSubsystems" e "LogSeverity".
valueO valor da configuração especificada. A tabela a seguir mostra os valores possíveis:
| Configuração | Opções |
|---|---|
| WarningsReturnAsErrors | 1 (true) ou 0 (false) |
| LogSubsystems | SQLSRV_LOG_SYSTEM_ALL (-1) SQLSRV_LOG_SYSTEM_CONN (2) SQLSRV_LOG_SYSTEM_INIT (1) SQLSRV_LOG_SYSTEM_OFF (0) SQLSRV_LOG_SYSTEM_STMT (4) SQLSRV_LOG_SYSTEM_UTIL (8) |
| LogSeverity | SQLSRV_LOG_SEVERITY_ALL (-1) SQLSRV_LOG_SEVERITY_ERROR (1) SQLSRV_LOG_SEVERITY_NOTICE (4) SQLSRV_LOG_SEVERITY_WARNING (2) |