MellonGroupPOS.refreshConnection Method

Refreshes the connection with Mellon Group. 
Use this method if you are dealing with connectivity issues.
Public Sub refreshConnection( _ 
ByVal APIKey As String, _ 
Optional ByVal newConnection As Boolean = False _ 
)
This language is not supported or no code example is available.
public void refreshConnection( 
string APIKey
bool newConnection = False 
)
This language is not supported or no code example is available.

Parameters

APIKey
string

The API key that is obtained by the getApiKey method.

newConnection
bool

Set to True if you want to establish a whole new connection.

Example
 
 mlg.refreshConnection("myAPIKey"); // Refreshes the current connection
 mlg.refreshConnection("myAPIKey", true); // Establishes a new Connection
 					
This language is not supported or no code example is available.
 mlg.refreshConnection("myAPIKey") 'Refreshes the current connection
 mlg.refreshConnection("myAPIKey", True) 'Establishes a new Connection
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition