AFSearch.Tokens Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Note: This API is now obsolete.
The tokens that represent this search object.
Namespace: OSIsoft.AF.Search
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[ObsoleteAttribute("Use TokenCollection instead. This collection does not support Or tokens.")] public IList<AFSearchToken> Tokens { get; }
<ObsoleteAttribute("Use TokenCollection instead. This collection does not support Or tokens.")> Public ReadOnly Property Tokens As IList(Of AFSearchToken) Get Dim instance As AFSearch Dim value As IList(Of AFSearchToken) value = instance.Tokens
public: [ObsoleteAttribute(L"Use TokenCollection instead. This collection does not support Or tokens.")] virtual property IList<AFSearchToken>^ Tokens { IList<AFSearchToken>^ get () sealed; }
[<ObsoleteAttribute("Use TokenCollection instead. This collection does not support Or tokens.")>] abstract Tokens : IList<AFSearchToken> with get [<ObsoleteAttribute("Use TokenCollection instead. This collection does not support Or tokens.")>] override Tokens : IList<AFSearchToken> with get
Property Value
Type: IListAFSearchTokenReturns the list of tokens that represent this search object.
Remarks
The search tokens were specified or were generated from the query string specified
when this AFSearch based object was created. This list of tokens will be used
when calling a search method.
Version Information
AFSDK
Supported in: 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5Obsolete (compiler warning) in 3.1.1
Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5