Click or drag to resize

IDatabaseRefresh Method

Reloads all the internal caches (lists, roles, users, etc).

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
void Refresh()
Examples

Clear the cache

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
dim objso
set objso =  CreateObject("superofficedb.database")
If not (objSO is nothing) Then
    objso.login  "<username>", "<password>"
    objso.refresh
    msgbox  "the superoffice cache is cleared and data is reloaded."
else
    msgbox  "unable to connect to database"
end if
set objso = nothing

See Also