Click or drag to resize
OSIsoft, LLC

AFCaseSearch Constructor (AFDatabase, String, String)

Creates an instance of an AFCaseSearch to search for AFCase objects using the specified search query string.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
public AFCaseSearch(
	AFDatabase database,
	string name,
	string query
)

Parameters

database
Type: OSIsoft.AFAFDatabase
The AFDatabase to be searched by the query. This parameter will initialize the Database property.
name
Type: SystemString
The SearchName associated with the created search object. This is only informational and does not affect the searches.
query
Type: SystemString
The search query string. This will be parsed into tokens and initialize the TokenCollection property. Strings will be interpreted with the Parse(String, AFTime, IFormatProvider) method so that relative formats with intervals ("*", "T+3h", etc.) are also supported. Relative time intervals are based on the database's QueryDate.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5
See Also
Enabling Operational Intelligence