WriteObject/WriteVersion
Purpose
The CMetaPropertyDesc WriteObject and WriteVersion functions update the CMetaPropertyDesc object.
Description
The properties of a CMetaPropertyDesc object that can be modified are:
Updates to other fields will be ignored.
Requirements
The ObjectID must be set.
Versioning of property objects is not supported.
Name changes are not permitted as the name is used as a column name in the repository table.
The engine does not permit updates to the following predefined CMetaPropertyDesc objects:
ObjectID |
Name |
301-399 |
MDSMetaModel properties |
Syntax
HRESULT WriteObject ();
HRESULT WriteVersion();