ContentsIndexHome
PreviousUpNext
ISession.updateData Method (IList<IData>, int)

Flushes all outstanding buffers to AIMMS and synchronizes the open SDK objects with the data in AIMMS. If the timeout period is exceeded, a CommunicationException exception is raised, leaving the data in an undefined state.  

 

C#
void updateData(IList<IData> changed, 
                        int timeout);
Parameters 
Description 
IList<IData> changed 
Receives a list of IData objects that have been changed since the last call to updateData.  
int timeout 
Timeout in seconds. If the timeout is less than zero, the earlier configured timeout is used. 

UpdateData is only effective if there are changes made in the SDK: if data is changed by other means, these changes will only be reported if changes are expected. See also AIMMS feature support.