expected-content-class Field

expected-content-class Field

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

An array of names indicating the expected content classes of items within a folder.

Full Name

urn:schemas-microsoft-com:exch-data:expected-content-class

Content Class

urn:content-classes:contentclassdef

urn:content-classes:folder

Variant Subtype

[Visual Basic] Array of Variants (Strings)

[C++] VT_ARRAY | VT_VARIANT (VT_BSTR)

OLE DB Type

DBTYPE_ARRAY | DBTYPE_VARIANT

Remarks

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 class 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 The SELECT * Statement 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 Microsoft ActiveX Data Objects (ADO) Recordset.

The expected-content-class Property, schema-collection-ref Field and baseschema Field are used together to define a folder's schema. Folders can contain separate content class and property definitions specific to a particular application. For more information about folder schemas, see Schema.

See Also

schema-collection-ref Field

baseschema Field

Schema

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.