AFTableConnection Constructor (String, IDbDataAdapter)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Overload to create an AFTableConnection using an existing IDbDataAdapter
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFTableConnection( string name, IDbDataAdapter dataAdapter )
Public Sub New ( name As String, dataAdapter As IDbDataAdapter ) Dim name As String Dim dataAdapter As IDbDataAdapter Dim instance As New AFTableConnection(name, dataAdapter)
public: AFTableConnection( String^ name, IDbDataAdapter^ dataAdapter )
new : name : string * dataAdapter : IDbDataAdapter -> AFTableConnection
Parameters
- name
- Type: SystemString
Name of the new TableConnection - dataAdapter
- Type: System.DataIDbDataAdapter
IDbDataAdapter containing the connection information