AFTrace.SetTraceLevel Method (String[])
- Last UpdatedNov 18, 2025
- 1 minute read
- PI System
- AF SDK 2024 R2
- Developer
Sets the overall TraceLevel to the specified string
representation of the levels.
Namespace: OSIsoft.AF.Diagnostics
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static void SetTraceLevel( string[] levels )
Public Shared Sub SetTraceLevel ( levels As String() ) Dim levels As String() AFTrace.SetTraceLevel(levels)
public: static void SetTraceLevel( array<String^>^ levels )
static member SetTraceLevel : levels : string[] -> unit
Parameters
- levels
- Type: SystemString
An array of strings corresponding to trace switch levels.