HTML ADO Property Object

ອົງການ Property

ອົງການ ADO ມີບັນດາລັກສະນະທີ່ມີສອງຊະນິດ: ບັນດາລັກສະນະທີ່ມີຢູ່ແລະບັນດາລັກສະນະທີ່ປະກອບ.

ບັນດາລັກສະນະທີ່ມີຢູ່ໃນອົງການ ADO ແລະສາມາດໃຊ້ທັນທີໃຫ້ແກ່ອົງການໃໝ່ແບບ MyObject.Property. ພວກມັນຈະບໍ່ສະແດງຕົວໃນອົງການ Properties ຂອງອົງການ, ແລະເຖິງວ່າສາມາດປ່ຽນຄຸນນະພາບຂອງພວກມັນ, ບໍ່ສາມາດປ່ຽນຄວາມສະເພາະຂອງພວກມັນ.

ອົງການ Property ADO ສະແດງຄວາມສະເພາະທີ່ປະກອບໃນອົງການ ADO, ທີ່ຖືກກໍານົດໂດຍ provider.

ທຸກຜູ້ສະໜອງທີ່ກຳລັງສົນທະນາກັບ ADO ມີວິທີການສົນທະນາກັບ ADO ທີ່ຫຼາກຫຼາຍກັນ. ດັ່ງນັ້ນ, ADO ຕ້ອງມີວິທີທີ່ຈະຮັກສາຂໍ້ມູນກ່ຽວກັບ provider. ການແກ້ໄຂທີ່ຈະມີການຈະຕອບກັບການສະໜອງຂໍ້ມູນທີ່ສະເພາະສຳລັບ ADO (ບັນດາລັກສະນະທີ່ປະກອບ). ADO ຈະຮັກສາບັນດາລັກສະນະຂອງ provider ໃນອົງການ Property, ແລະ Property ອົງການຈະຮັກສາໃນອົງການ Properties. ອົງການນີ້ຈະຖືກແຈກຢູ່ຫາອົງການ Command, Connection, Field ຫຼື Recordset.

For example, properties specified to the provider may indicate whether the Recordset object supports transactions or updates. These additional properties will appear as Property objects in the Properties collection of the Recordset object.

ProgID

set objProperty=Server.CreateObject("ADODB.property")

Properties

Properties Description
Attributes Return the properties of a Property Object
Name Set or return the name of a Property Object
Type Return the type of Property
Value Set or return the value of a Property Object