Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Clears the internal memory cache, including the cached database information. This method is intended only for development use, specifically to have the Axapta object reread the Microsoft Dynamics AX application code. As Refresh clears the internal cache, it is not recommended that this method be called every time a user logs on to a Web site. Calling Refresh would greatly decrease the performance time of the Web site.
Namespace: Microsoft.Dynamics.BusinessConnectorNet
Assembly: Microsoft.Dynamics.BusinessConnectorNet (in Microsoft.Dynamics.BusinessConnectorNet.dll)
'Declaration
Public Sub Refresh
'Usage
Dim instance As Axapta
instance.Refresh()
public void Refresh()
public:
void Refresh()
Exception | Condition |
---|---|
BusinessConnectorException | An unexpected error has occurred with the Business Connector. |
NotLoggedOnException | The requested operation cannot be performed because the user is not logged on to Microsoft Dynamics AX. |
You may experience a cache issue for data entered in the UI in an application that accesses Microsoft Dynamics AX with .NET Business Connector. Call the Refresh method or restart the service that is running the code.