Connection 物件
| 方法 | 說明 |
| Open | 開啟連線 |
| Close | 關閉連線 |
| Execute | 執行查詢、SQL 指令或預存程序 |
| BeginTrans | 開始交易 |
| CommitTrans | 認可交易,可選擇開啟新交易 |
| RollbackTrans | 復原交易,可選擇開啟新交易 |
| OpenSchema | 取得結構描述資訊 (資料表、欄位、索引等) |
| 屬性 | 說明 |
| Attributes | 控制交易結束時是否自動開啟新交易 |
| CommandTimeout | 指令執行逾時秒數 |
| ConnectionString | 建立連線所需資訊 |
| ConnectionTimeout | 連線逾時秒數 |
| CursorLocation | 游標位置:adUseClient / adUseServer |
| DefaultDatabase | 預設資料庫 |
| IsolationLevel | 交易隔離級別 |
| Mode | 提供者存取權限 |
| Provider | 提供者名稱 |
| State | adStateOpen / adStateClosed |
| Version | ADO 版本號 |
Command 物件
| 方法 | 說明 |
| CreateParameter | 在 Parameters 集合建立 Parameter 物件 |
| Execute | 執行 CommandText 指定的 SQL/程序 |
| 屬性 | 說明 |
| ActiveConnection | 關聯的 Connection 物件 |
| CommandText | 要執行的指令文字 |
| CommandTimeout | 指令執行逾時 |
| CommandType | 指令類型 (adCmdText/StoredProc/TableDirect) |
| Name | Command 物件名稱 |
| Prepared | 是否預先編譯 |
| State | adStateOpen / adStateClosed |
Parameters 集合
| 方法 | 說明 |
| Append | 新增 Parameter 到集合 |
| Delete | 刪除集合中的 Parameter |
| Refresh | 更新集合 (從提供者取得最新參數中繼資料) |
| 屬性 | 說明 |
| Count | 集合中 Parameter 數量 |
| Item | 取得指定 Parameter 物件 (可用索引或名稱) |
Parameter 物件
| 屬性 | 說明 |
| Attributes | 資料型別屬性 (adFldNullable 等) |
| Direction | adParamInput/Output/InputOutput/ReturnValue |
| Name | 參數名稱 |
| NumericScale | 小數位數 |
| Precision | 數值總位數 |
| Size | 值大小 (Byte) |
| Type | 資料型別 (adInteger, adVarChar, adDate 等) |
| Value | 參數值 (預設屬性) |
常用 Direction 常數
adParamInput = 1 ' 輸入參數
adParamOutput = 2 ' 輸出參數
adParamInputOutput = 3 ' 輸入/輸出
adParamReturnValue = 4 ' 回傳值
常用 Type 常數 (節錄)
adEmpty = 0
adTinyInt = 16
adSmallInt = 2
adInteger = 3
adBigInt = 20
adSingle = 4
adDouble = 5
adCurrency = 6
adDecimal = 14
adDate = 7
adBSTR = 8
adVarChar = 200
adLongVarChar = 201
adVarWChar = 202
adLongVarWChar = 203