Icon GetServerEvent Method

void __fastcall GetServerEvent(const System::UnicodeString
      EventName, System::UnicodeString &EventDescription,
      TEventRunType &EventRunType, System::TDateTime &EventStartDate,
      System::TDateTime &EventEndDate, System::TDateTime
      &EventStartTime, System::TDateTime &EventEndTime, System::Word
      &EventInterval, TEventDays &EventDays, TEventDayOfMonth
      &EventDayOfMonth, TEventDayOfWeek &EventDayOfWeek, TEventMonths
      &EventMonths, System::TDateTime &EventLastRun)

Usage

Call the GetServerEvent method to retrieve information about an existing scheduled event from a database server. Use the EventName parameter to specify the existing event name. Please see the AddServerEvent method for more information on the parameters returned from this method. The EventLastRun parameter specifies the last date and time that the event was successfully run.

Information This method is only valid when the engine is running as a database server and the EngineType is set to etServer.
Image