downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

sqlsrv_connect> <sqlsrv_commit
[edit] Last updated: Fri, 25 May 2012

view this page in

sqlsrv_configure

(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)

sqlsrv_configureChanges the driver error handling and logging configurations

説明

bool sqlsrv_configure ( string $setting , mixed $value )

Changes the driver error handling and logging configurations.

パラメータ

setting

The name of the setting to set. The possible values are "WarningsReturnAsErrors", "LogSubsystems", and "LogSeverity".

value

The value of the specified setting. The following table shows possible values:

Error and Logging Setting Options
Setting Options
WarningsReturnAsErrors 1 (TRUE) or 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)

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes sqlsrv_configure
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites