Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Using the Web Store you can easily store any number of properties, also called fields, along with each item. Much like columns in a table of a relational database, you can access the value of each property, and search and group items having properties that match certain conditions.
Web Store properties are identified by using a namespace or name pair. For example, suppose that you store all expense reports for employees in one folder and that for each report (item) in the folder you set properties containing the employee's last name, the amount requested in the report, and the date the request was made. You can then use these properties as search and sort criteria, creating a result set of employees that meet the search criteria and sorting the result set by the report date (or any other ordered property you happened to have assigned to the report).
Note Property names and namespaces are case-sensitive.
Any number of properties can be stored with each item, and the set of properties for each item can be different. Unlike a relational database, you do not need to add a column to a table before attributing an item with a new property.
To add a property “on the fly” using ADO or OLE DB, add a name, data type, and (optional) default value to the Fields collection of a Record object