Close method: PortalRegistry class
Syntax
Close()
Description
The Close method closes the PortalRegistry object, that is, this method sets the object to the state it was in immediately after the GetPortalRegistry was done on the PeopleSoft Session object. Any unsaved changes are discarded. The Close method can be used only on an open PortalRegistry, not a closed one. This means you must have opened the PortalRegistry with the Open method before you can close it.
Parameters
None.
Returns
A Boolean value: True if the PortalRegistry object is successfully closed, False otherwise.
Example
&Rslt = &MyRegistry.Close();
If Not &Rslt Then
/* registry not closed - do error processing */
End-if;