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.EventLogAssembly: CMS.EventLog (in CMS.EventLog.dll) Version: 8.2.23
Syntax 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:
Int32See Also