OPC Studio User's Guide and Reference
FromDADataSource Method



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAReadParameters Class : FromDADataSource Method
Selects the data source for OPC reads (from device, from OPC cache, or dynamically determined).
Converts a DADataSource to a DAReadParameters object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromDADataSource( _
   ByVal dataSource As DADataSource _
) As DAReadParameters
'Usage
 
Dim dataSource As DADataSource
Dim value As DAReadParameters
 
value = DAReadParameters.FromDADataSource(dataSource)
[NotNull()]
public static DAReadParameters FromDADataSource( 
   DADataSource dataSource
)
[NotNull()]
public:
static DAReadParameters^ FromDADataSource( 
   DADataSource dataSource
) 

Parameters

dataSource
Selects the data source for OPC reads (from device, from OPC cache, or dynamically determined).

Return Value

Returns a DAReadParameters object converted from the input argument.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also