Language Reference Guide : B. Dedicated User Classes for .INI File Support : ProfileObject User Class : WriteProfile Method
 
Share this page          
WriteProfile Method
The WriteProfile method rebuilds the initialization file, if modified, and writes it to the disk.
This method has the following syntax:
integer = ProfileObject.WriteProfile(IniFile = varchar(256) not null)
If the file cannot be written, the method returns ER_FAIL. It returns ER_OK if the file was successfully written. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.