GetSharedObject(Variable As String, Release As Integer) As Object
Application object
Returns the shared object set with SetSharedObject. If Release is non-zero, the reference count of the shared object is decreased by one. If it is zero, the reference count is not affected. When the reference count of an object reaches zero, the object is automatically destroyed.
Related topic