Platform SDK: Exchange Server

Restrictions on Importing Attributes with a Template Object

Importing objects does not allow cross-class inheritance. This means attributes and their values can be passed on only from a template of the same object type as the current object. For example, when importing recipients, only an existing Recipient object can successfully be used as a template. Attempts to inherit attributes from an object of another class will not always generate an error, but may produce unpredictable results.

Template inheritance does not apply to raw mode operation. In other words, if the DAPI_RAW_MODE flag is set, specification of a template object results in a warning that template objects are ignored, and the object is not read.

Template object values are inherited only when creating objects, not modifying them.