VGEventLogInstanceGetAllEventLogByCategory Method (VGLogCategory, DateTime, DateTime, Int32, Int32, VGEventLogSortByColumnType, VGSortOrderType, Int32)
|
Get All EventLogs by Category and other parameters
Namespace:
Novalys.VisualGuard.Security.Membership
Assembly:
Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax public List<VGEventLog> GetAllEventLogByCategory(
VGLogCategory category,
DateTime startDate,
DateTime endDate,
int pageIndex,
int pageSize,
VGEventLogSortByColumnType sortBy,
VGSortOrderType sortOrder,
out int totalRecords
)
Public Function GetAllEventLogByCategory (
category As VGLogCategory,
startDate As DateTime,
endDate As DateTime,
pageIndex As Integer,
pageSize As Integer,
sortBy As VGEventLogSortByColumnType,
sortOrder As VGSortOrderType,
<OutAttribute> ByRef totalRecords As Integer
) As List(Of VGEventLog)
Parameters
- category
- Type: Novalys.VisualGuard.Security.LoggingVGLogCategory
EventLogCategory - startDate
- Type: SystemDateTime
startDate (Need to be in UTC) - endDate
- Type: SystemDateTime
endDate (Need to be in UTC) - pageIndex
- Type: SystemInt32
pageIndex - pageSize
- Type: SystemInt32
pageSize - sortBy
- Type: Novalys.VisualGuard.Security.LoggingVGEventLogSortByColumnType
sortby column - sortOrder
- Type: VGSortOrderType
sort order - totalRecords
- Type: SystemInt32
contains totalcount as out parameter
Return Value
Type:
ListVGEventLogReturns a list of VGEventLog
See Also