Skip to main content

TcxSchedulerWebServiceStorage.GetEvents(TcxSchedulerFilteredEventList,TDateTime,TDateTime,Variant) Method

Clears the specified event list and populates it with events retrieved from connected online calendars.

Declaration

function GetEvents(AList: TcxSchedulerFilteredEventList; const AStart: TDateTime; const AFinish: TDateTime; const AResourceID: Variant): Boolean; overload; override;

Parameters

Name Type
AList TcxSchedulerFilteredEventList
AStart TDateTime
AFinish TDateTime
AResourceID Variant

Returns

Type
Boolean

Remarks

Call this function to obtain events within the time range between AStart and AFinish parameter values from one or more calendars accessible via authorized data providers. Use the AResourceID parameter to select a specific source of events. You can pass a web service storage resource‘s unique identifier or varNull as the parameter to obtain events from one or all connected calendars.

The function returns True if it successfully appends at least one event to the list passed as the AList parameter; otherwise – False.

See Also