You can access/create/modify different types of properties. 您可以访问/创建/修改不同类型的属性。
at the database level 在数据库级别
- Some of them are specific to the Access database object / Access mdb file and can be managed through JET engine only / DAO database object. 其中一些特定于Access数据库对象/ Access mdb文件,并且可以通过仅JET引擎/ DAO数据库对象进行管理。 Please see the "createProperty" method in VBA/Access Help. 请参阅VBA /访问帮助中的“ createProperty”方法。
- Some properties are available at the database level through the ADOX object, and can be accessed through an ADO connection, as long as the connection provider supplies these properties: dateModified and dateCreated should then be available at the table\\view\\proc level. 只要连接提供程序提供了以下属性,某些属性就可以通过ADOX对象在数据库级别使用,并且可以通过ADO连接进行访问:dateModified和dateCreated然后应该在table \\ view \\ proc级别可用。
- When manipulating DAO recordsets (not ADO ones), some extra properties are available at the recordset level, like "lastUpdated" or "lastModified". 在处理DAO记录集(而不是ADO记录集)时,记录集级别提供了一些额外的属性,例如“ lastUpdated”或“ lastModified”。
At the file level 在文件级别
- Some of them are specific to the fileSystem object, available with VB. 其中一些特定于VB附带的fileSystem对象。 They are available at the file level only 它们仅在文件级别可用
- You can manage\\define extended properties at the file\\document level through the DSOfile object (please google for more details). 您可以通过DSOfile对象在文件\\文档级别管理\\定义扩展属性(请使用google获取更多详细信息)。 Such object will allow you to add as many properties as needed such as "Title", 'Author", "Subject" , etc. 这样的对象将允许您根据需要添加尽可能多的属性,例如“ Title”,“ Author”,“ Subject”等。
So, depending on the kind of property you need to access, these might not be available through an ADO connection. 因此,根据您需要访问的属性的类型,可能无法通过ADO连接使用这些属性。