Updating Metadata Objects |
The SAS Open Metadata Interface provides the UpdateMetadata method for updating existing metadata objects. With UpdateMetadata, you can do the following:
modify an existing metadata object's attributes
add an association between two existing metadata objects
add an association between an existing metadata object and a new metadata object
modify an associated object's properties
remove an association
The UpdateMetadata method does not allow you to create new objects. For information about creating a metadata object, see Adding Metadata Objects. UpdateMetadata can create associated objects indirectly as a result of defining an association.
The UpdateMetadata method cannot delete a metadata object. To delete a metadata object, you must use the DeleteMetadata method. For more information, see Deleting Metadata Objects. The UpdateMetadata method might indirectly delete dependent objects to enforce cardinality rules when an association is deleted. For example, if a table is updated to remove an association to a column, then the Column object, which is dependent on the table, is deleted as well. However, a Column object cannot be updated to remove its association to a table and, as a result, be deleted.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.