Hi,
if UniConnection.Ping then
ShowMessage('...');
Error....
How to use the Ping method?
UniDac 5.3.9.
How to use the Ping method?
Re: How to use the Ping method?
Hello,
The Ping method is a procedure and it doesn't return execution result, therefore you should use a try...except block to handle it.
The Ping method is a procedure and it doesn't return execution result, therefore you should use a try...except block to handle it.
Code: Select all
try
UniConnection.Ping;
ShowMessage('OK');
except
on E: Exception do
ShowMessage(E.Message);
end;Re: How to use the Ping method?
If you have any further questions, feel free to contact us.