disconnect()


Closes the current connection to an Oracle OLAP instance.  No further Analytic Workspace operations are carried out including DML detaching the analytic workspace.


Syntax


               disconnect



Return Value


               BOOLEAN


Example


Public Sub disconnect()

'Disconnects Excel From Oracle OLAP


If Not oregistered Then:   boo = regQ:

boo = o.disconnect


If boo = True Then

  MsgBox "Disconnected OK"

Else

  MsgBox "Not Disconnected"

End If


End Sub