ออบเจ็กต์คุณสมบัติ ADO
วัตถุทรัพย์สิน
ออบเจ็กต์คุณสมบัติ ADO แสดงถึงลักษณะไดนามิกของออบเจ็กต์ ADO ที่กำหนดโดยผู้ให้บริการ
ผู้ให้บริการแต่ละรายที่พูดคุยกับ ADO มีวิธีการโต้ตอบกับ ADO ต่างกัน ดังนั้น ADO จึงต้องจัดเก็บข้อมูลเกี่ยวกับผู้ให้บริการในทางใดทางหนึ่ง วิธีแก้ไขคือผู้ให้บริการให้ข้อมูลเฉพาะ (คุณสมบัติไดนามิก) แก่ ADO ADO เก็บคุณสมบัติของผู้ให้บริการแต่ละรายการในอ็อบเจ็กต์ Property ที่จัดเก็บอีกครั้งใน Properties Collection คอลเลกชั่นถูกกำหนดให้กับออบเจกต์ Command, Connection object, Field object หรือ Recordset object
ProgID
set objProperty=Server.CreateObject("ADODB.property")
คุณสมบัติ
Property | Description |
---|---|
Attributes | Returns the attributes of a Property object |
Name | Sets or returns the name of a Property object |
Type | Returns the type of a Property object |
Value | Sets or returns the value of a Property object |