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

search for in the

mssql_connect> <mssql_bind
Last updated: Fri, 10 Oct 2008

view this page in

mssql_close

(PHP 4, PHP 5, PECL odbtp:1.1.1-1.1.4)

mssql_closeMS SQL Server への接続を閉じる

説明

bool mssql_close ([ resource $link_identifier ] )

指定したリンク ID が指す MS SQL Server データベースへのリンクを閉じます。 リンク ID が指定されない場合、最後にオープンされたリンクが指定されたと仮定します。

持続的でないリンクはスクリプト実行終了時に自動的に閉じられるので この関数は通常は必要ではありません。

パラメータ

link_identifier

mssql_connect() が返す MS SQL リンク ID。

この関数は、 mssql_pconnect() が作成した持続的リンクを閉じません。

返り値

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



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

mssql_connect> <mssql_bind
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites