AcMapIEExporter:: SetIsUniqueKeyProperty Method
Sets a property to be a Unique/Primary Key.
virtual AcMapIE::ErrCode SetIsUniqueKeyProperty( const ACHAR* schemaName, const ACHAR* className, const ACHAR* propertyName ) = 0;
Parameters |
Description |
schemaName |
Name of the target schema |
className |
Name of the target class |
propertyName |
Name of the target property |
Returns
kErr_OK if successful
kErr_ClassExists if the property is not a newly appended one
kErr_InvalidDataStore if the target datastore is not supported (FDO)
Remarks
This can only be called for new properties. The property does not need to have a mapping - and should not, if it is an autogenerated key field. In that case, the new property will be added as an autogenerated Unique Key field.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].