PerformanceLogHelperSearch Method |
Searches the performance log.
Namespace:
Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public static SearchResult<PerformanceLog> Search(
int firstRow,
int pageSize,
string order,
string propertyNameToOrder,
string[] categoryNames = null,
string[] counterNames = null,
Nullable<DateTime> from = null,
Nullable<DateTime> to = null
)
Public Shared Function Search (
firstRow As Integer,
pageSize As Integer,
order As String,
propertyNameToOrder As String,
Optional categoryNames As String() = Nothing,
Optional counterNames As String() = Nothing,
Optional from As Nullable(Of DateTime) = Nothing,
Optional to As Nullable(Of DateTime) = Nothing
) As SearchResult(Of PerformanceLog)
public:
static SearchResult<PerformanceLog^>^ Search(
int firstRow,
int pageSize,
String^ order,
String^ propertyNameToOrder,
array<String^>^ categoryNames = nullptr,
array<String^>^ counterNames = nullptr,
Nullable<DateTime> from = nullptr,
Nullable<DateTime> to = nullptr
)
static member Search :
firstRow : int *
pageSize : int *
order : string *
propertyNameToOrder : string *
?categoryNames : string[] *
?counterNames : string[] *
?from : Nullable<DateTime> *
?to : Nullable<DateTime>
(* Defaults:
let _categoryNames = defaultArg categoryNames null
let _counterNames = defaultArg counterNames null
let _from = defaultArg from null
let _to = defaultArg to null
*)
-> SearchResult<PerformanceLog>
Parameters
- firstRow
- Type: SystemInt32
The first row. - pageSize
- Type: SystemInt32
The page size. - order
- Type: SystemString
The order (asc or desc). - propertyNameToOrder
- Type: SystemString
The property name to order by. - categoryNames (Optional)
- Type: SystemString
Array of category names to search in or null for all. - counterNames (Optional)
- Type: SystemString
Array of counter names to search in or null for all. - from (Optional)
- Type: SystemNullableDateTime
From date to filter by. - to (Optional)
- Type: SystemNullableDateTime
To date to filter by.
Return Value
Type:
SearchResultPerformanceLogPerformance log data.
See Also