Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTrace.SetTraceLevel Method (String[])

  • Last UpdatedNov 18, 2025
  • 1 minute read
AFTrace.SetTraceLevel Method (String[])
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.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in