---
title: clsAppInfoCollection.Criteria
summary: API reference for clsAppInfoCollection.Criteria.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-24
library: SAIF.Application.LogView
reference_type: package
---

# clsAppInfoCollection.Criteria

`clsAppInfoCollection.Criteria` defines the public filter and search members used to retrieve `App_Info` collection results.

## Purpose
- Capture filter values for `App_Info` searches.
- Select how full-text search targets `Message_Text` and `Data_Text`.
- Normalize free-text search input before SQL binding.

## Context
- Namespace: `SAIF.Application.LogView`
- Assembly/package: `SAIF.Application.LogView`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `AppName` | `Public Property AppName() As String` | Stores the application-name filter. |
| `EndDate` | `Public Property EndDate() As Date` | Stores the end date for a date-range filter. |
| `Environment` | `Public Property Environment() As String` | Stores the environment filter. |
| `IsDirty` | `Public Property IsDirty() As Boolean` | Tracks whether criteria values have changed. |
| `MachineName` | `Public Property MachineName() As String` | Stores the machine-name filter. |
| `SearchText` | `Public Property SearchText() As String` | Stores the free-text search input. |
| `SearchType` | `Public Property SearchType As SearchTypes` | Selects whether full-text search targets message text, data text, or both columns. |
| `StartDate` | `Public Property StartDate() As Date` | Stores the start date for a date-range filter. |
| `ExcludeEpayAndDD` | `Public Property ExcludeEpayAndDD() As Boolean` | Controls whether `EPAY` and `DirectDeposit` rows are excluded from search results. |
| `UserName` | `Public Property UserName() As String` | Stores the user-name filter. |
| `New` | `Public Sub New(ByVal inDataportal As IDataPortalInfo)` | Creates criteria bound to a data-portal instance. |
| `GetSearchValue` | `Public Function GetSearchValue() As String` | Converts `SearchText` into the value bound to `@SEARCHTEXT`. |

## Behavioral notes
- `SearchType` drives whether `BuildWhere()` emits `CONTAINS` against `Message_Text`, `Data_Text`, or both columns.
- `ExcludeEpayAndDD` defaults to `True` in source, which aligns with [BR-008](../../business-rules.md#br-008-audit-searches-exclude-epay-and-directdeposit).
- `GetSearchValue()` preserves the explicit operators `AND`, `OR`, `&`, `|`, and `&!`, which aligns with [BR-004](../../business-rules.md#br-004-search-text-is-normalized-for-full-text-queries).

## Constraints and usage notes
- The SQL-property members and the date-specific overload constructor are `Friend` in source and are not part of the public API surface.

## Sources
- `Application\SAIF.Application.LogView\clsAppInfoCollection.vb`
