Click or drag to resize
EventLogProviderGetPreviousNext Method
Returns the previous and next events of the given event in the order specified by ORDER BY parameter matching the WHERE criteria.

Namespace: CMS.EventLog
Assembly: CMS.EventLog (in CMS.EventLog.dll) Version: 9.0.0
Syntax
C#
public static int[] GetPreviousNext(
	int eventId,
	string where,
	string orderBy
)

Parameters

eventId
Type: SystemInt32
ID of the event relative to which the previous and next events are returned
where
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by columns

Return Value

Type: Int32
See Also