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: 2.10.6.195
Syntax
[ObsoleteAttribute("Use TokenCollection.TryFindSearchTokens instead.")]
public bool TryFindSearchTokens(
	AFSearchFilter filter,
	out IList<AFSearchToken> tokens
)

Parameters

filter
Type: OSIsoft.AF.SearchAFSearchFilter
The AFSearchFilter for the desired search tokens.
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

AFSDK

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