Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTransferSearch Constructor (AFDatabase, String, IList(AFSearchTokenBase))

AFTransferSearch Constructor (AFDatabase, String, IList(AFSearchTokenBase))

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTransferSearch Constructor (AFDatabase, String, IList(AFSearchTokenBase))
Creates an instance of an AFTransferSearch to search for AFTransfer objects using the specified list of search tokens.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFTransferSearch(
	AFDatabase database,
	string name,
	IList<AFSearchTokenBase> tokens
)
Public Sub New ( 
	database As AFDatabase,
	name As String,
	tokens As IList(Of AFSearchTokenBase)
)

Dim database As AFDatabase
Dim name As String
Dim tokens As IList(Of AFSearchTokenBase)

Dim instance As New AFTransferSearch(database, 
	name, tokens)
public:
AFTransferSearch(
	AFDatabase^ database, 
	String^ name, 
	IList<AFSearchTokenBase^>^ tokens
)
new : 
        database : AFDatabase * 
        name : string * 
        tokens : IList<AFSearchTokenBase> -> AFTransferSearch

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.
tokens
Type: System.Collections.GenericIListAFSearchTokenBase
The list of tokens to initialize the TokenCollection property for the new object and will be used when calling search method. A query string can be converted to a list of tokens by calling the ParseQueryString(String) method.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in