Dispose Method

The Dispose method releases the resources used by the Axapta object.

Namespace:  Microsoft.Dynamics.BusinessConnectorNet
Assembly:  Microsoft.Dynamics.BusinessConnectorNet (in Microsoft.Dynamics.BusinessConnectorNet.dll)

public:
virtual void Dispose() sealed

Implements

IDisposable.Dispose()

After the Dispose method has been called, any attempt to reference the Axapta object results in a ObjectDisposedException exception being raised. Additionally, calling Dispose results in the current session being logged off of the Axapta system.

Community Additions

ADD
Show: