Click or drag to resize
OSIsoft, LLC

AFSearchTryFindSearchTokens Method

Note: This API is now obsolete.

Find the AFSearchToken list associated with the specified AFSearchFilter.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
[ObsoleteAttribute("Use TokenCollection.TryFindSearchTokens instead.")]
public bool TryFindSearchTokens(
	AFSearchFilter filter,
	out IList<AFSearchToken> tokens


Type: OSIsoft.AF.SearchAFSearchFilter
The AFSearchFilter for the desired search tokens.
Type: System.Collections.GenericIListAFSearchToken
The list of found tokens that matches the specified filter. If not found, then an empty list is returned for this parameter.

Return Value

Type: Boolean
Returns if any tokens that matches the specified filter were found. Otherwise, is returned.
Version Information


Supported in: 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5
Obsolete (compiler warning) in 2.10.5
See Also
Enabling Operational Intelligence