LogOperation (TdbfEventLog)

De Wiki1000
class procedure LogOperation(iEvent:Integer; const iInformations:String);

Cette méthode de classe permet d'enregistrer une opération. Une opération est un évènement dont le code opération es normalisé.

Paramètre Usage
iEvent identifiant de l'opération
iInformations Informaions complémentaires

Exemple :

function logOperation(iCode:Integer; const iInformations:string):boolean;
begin
  ClassManager.beginTran;
 try
    TdbfEventLog.logOperation(iCode,iInformations);
    Result := ClassManager.Commit;
  except
  ClassManager.RollBack;
 end;
end;

Voir aussi :


TdbfEventLog (Class)Développement DSM





Whos here now:   Members 0   Guests 1   Bots & Crawlers 0
 
Outils personnels