pascalSCADA OPM: HMIDBConnection: Interface IHMIDBConnection

Pascal SCADA OPM

Interface IHMIDBConnection

Unit

HMIDBConnection

Declaration

type IHMIDBConnection = interface(IInterface)

Description

: Interface to interact with private objects of THMIDBConnection

Attributes
GUID['{C5AEA572-D7F8-4116-9A4B-3C3B972DC021}']

Hierarchy

  • IInterface
  • IHMIDBConnection

Overview

Methods

Public function GetSyncConnection:TZConnection;
Public procedure ExecSQL(sql:String; ReturnDatasetCallback:TReturnDataSetProc; ReturnSync:Boolean=true);

Description

Methods

Public function GetSyncConnection:TZConnection;

: Returns the TZConnection to be used by property editors.

Public procedure ExecSQL(sql:String; ReturnDatasetCallback:TReturnDataSetProc; ReturnSync:Boolean=true);

: Executes a assynchronous query.

Parameters
sql
String. SQL command. If the query is a SELECT and you want get the returned data, you must supply a callback procedure in ReturnDatasetCallback param.
ReturnDatasetCallback
TReturnDataSetProc. Callback that will be called to return the data to the application.

Generated by PasDoc 0.14.0.