OPC Studio User's Guide and Reference
FromInt32 Method (UAMonitoringParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAMonitoringParameters Class : FromInt32 Method
The sampling interval (in milliseconds) indicates the fastest rate at which the Server should sample its underlying source for data changes.
Converts a sampling interval to monitoring parameters object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromInt32( _
   ByVal samplingInterval As Integer _
) As UAMonitoringParameters
'Usage
 
Dim samplingInterval As Integer
Dim value As UAMonitoringParameters
 
value = UAMonitoringParameters.FromInt32(samplingInterval)
[NotNull()]
public static UAMonitoringParameters FromInt32( 
   int samplingInterval
)
[NotNull()]
public:
static UAMonitoringParameters^ FromInt32( 
   int samplingInterval
) 

Parameters

samplingInterval
The sampling interval (in milliseconds) indicates the fastest rate at which the Server should sample its underlying source for data changes.

Return Value

Returns the monitoring parameters object with the specified sampling interval.
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