ContentReference Links Methods
In this section, we discuss the ContentReference link methods. The methods are discussed in alphabetical order.
Use the delete method to delete the link from the database.
Note: The portal registry classes execute some methods "interactively", that is, as they happen. The link is not marked for deletion, then actually deleted later. The link is deleted from the database as soon as the method is executed.
A Boolean value: True if the content reference link and its associated objects are deleted successfully, False otherwise.
The Save method saves any changes you made to the content reference link, for example, a changed description or ValidFrom date.
After you create a link using either the CreateLink or CreateContentRefLink methods you must use the Save method to save the link to the database.
Using this method also saves any changes you made to PermissionValue or AttributeValue objects associated with this content reference link.
A Boolean value: True if the content reference link and its associated objects saved successfully, False otherwise. If False is returned, a message is also written to the PSMessage collection.
If NOT(&MyCRefLink.Save()) Then /* save failed, do error processing */ End-If;