Datasnap.DSClientRest.TDSCustomRestConnection.TestConnection
Delphi
procedure TestConnection(AOptions: TDSTestConnectionOptions = []);
C++
void __fastcall TestConnection(TDSTestConnectionOptions AOptions = TDSTestConnectionOptions() );
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp |
Datasnap.DSClientRest | TDSCustomRestConnection |
Description
Tests to see whether the REST connection can be made.
Call the TestConnection method to verify whether the REST connection can be made or not. If the connection cannot be completed, an exception is raised.
The AOptions parameter holds a set of test connection options.