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

State (Connection オブジェクト)

object.State = value

引数

object
>Connection オブジェクトの名前を指定します。
value
オブジェクトの状態
定数内容
adStateClosed0閉じている(デフォルト)
adStateOpen1開いている
adStateConnecting2接続中
adStateExecuting4コマンド実行中
adStateFetching8行を取得中

解説

Connectionオブジェクトの状態を返します。
読取り専用です。

使用例



関連項目

AttributesCommandTimeoutConnectionStringConnectionTimeoutCursorLocationDefaultDatabaseIsolationLevelMode
ProviderVersionBeginTransCancelCloseCommitTransExecuteOpen
OpenSchemaRollbackTrans



ASPリファレンス

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


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