Click or drag to resize
OSIsoft, LLC

AFSearchTryFindSearchToken Method

Note: This API is now obsolete.

Find the AFSearchToken associated with the specified AFSearchFilter.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
[ObsoleteAttribute("Use TokenCollection.TryFindSearchToken instead.")]
public bool TryFindSearchToken(
	AFSearchFilter filter,
	out AFSearchToken token
)

Parameters

filter
Type: OSIsoft.AF.SearchAFSearchFilter
The AFSearchFilter for the desired search token.
token
Type: OSIsoft.AF.SearchAFSearchToken
The found token that matches the specified filter. If not found, then null is returned as this parameter.

Return Value

Type: Boolean
Returns if the token that matches the specified filter was 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