ASP@Workshop 
HOME > ASPリファレンス > Connection オブジェクト > Close

Close (Connection オブジェクト)

object.Close

引数

object
Connection オブジェクトの名前を指定します。

解説

Connectionオブジェクトを閉じます。
接続に使用したRecordsetオブジェクトもすべて閉じられます。
ただし、メモリから削除されないため、必ずNothingをセットします。

使用例



関連項目

AttributesCommandTimeoutConnectionStringConnectionTimeoutCursorLocationDefaultDatabaseIsolationLevelMode
ProviderStateVersionBeginTransCancelCommitTransExecuteOpen
OpenSchemaRollbackTrans



ASPリファレンス

Command オブジェクト
Connection オブジェクト
Error オブジェクト
Errors コレクション
Field オブジェクト
Fields コレクション
Parameter オブジェクト
Parameters コレクション
Property オブジェクト
Properties コレクション
Record オブジェクト
Recordset オブジェクト
Stream オブジェクト


Copyright (C) 2006-2008 ASP@Workshop All rights reserved.