Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
An array of names indicating the expected content classes of items within a folder.
urn:schemas-microsoft-com:exch-data:expected-content-class
DBTYPE_ARRAY | DBTYPE_VARIANT
Array of Variants (Strings) [Visual Basic]
VT_ARRAY | VT_VARIANT (VT_BSTR) [C++]
The expected-content-class property is an array (list) of content class names that are designated as expected for items in the folder. This property does not itself define these content classes and does not define in what folder or folders the associated content class and property definition items are kept. Applications search for these definitions within the folder's schema scope. Additionally, the expected-content-class property does not impose a restriction on what the value of an item's content class can be; it simply designates the list of names as expected for items within the folder.
One example use of the expected-content-class property is controlling which properties are returned for items when you execute a SELECT * command on a folder: only the combination of properties defined by all of the expected content classes are returned for each item in the resulting OLE DB Rowset or ADO Recordset.
The expected-content-class, schema-collection-ref and baseschema properties are used together to define a folder's schema. Folders can each contain separate content class and property definitions specific to a particular application. For more information about folder schemas, see Web Store Schema.
urn:schemas-microsoft-com:exch-data:schema-collection-ref