Disconnect Method

Description
Disconnects the Spel class instance from the current connection.

Syntax
Sub Disconnect ()

Remarks
Use Disconnect to disconnect from the current Controller connection.

See Also
Connect Method, Initialize Method

Disconnect Example
VB Example:

  Try  
    m_spel.Disconnect()  
  Catch ex As RCAPINet.SpelException  
    MsgBox(ex.Message)  
  End Try  

C# Example:

try{  
    m_spel.Disconnect();  
}  
catch(RCAPINet.SpelException ex){  
MessageBox.Show(ex.Message);}