AFAnalysisRules.IsTraced Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Indicates if a specified level is being traced.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public bool IsTraced( AFTraceSwitchLevel level )
Public Function IsTraced ( level As AFTraceSwitchLevel ) As Boolean Dim instance As AFAnalysisRules Dim level As AFTraceSwitchLevel Dim returnValue As Boolean returnValue = instance.IsTraced(level)
public: virtual bool IsTraced( AFTraceSwitchLevel level ) sealed
abstract IsTraced : level : AFTraceSwitchLevel -> bool override IsTraced : level : AFTraceSwitchLevel -> bool
Parameters
- level
- Type: OSIsoft.AF.DiagnosticsAFTraceSwitchLevel
The tracing level to be checked if it is currently being traced.
Return Value
Type: BooleanReturns if the specified trace level is being traced. Otherwise, is returned.
Implements
IAFTraceIsTraced(AFTraceSwitchLevel)
Remarks
This method indicates if the specified trace level is currently being traced.