Session.EnableVerboseTelemetry(Boolean, Duration) Method

Version: Available or changed with runtime version 3.2.

Temporarily enable verbose telemetry on the current session.

Note

This method is supported only in Business Central on-premises.

Syntax

 Session.EnableVerboseTelemetry(EnableFullALFunctionTracing: Boolean, Duration: Duration)

Note

This method can be invoked without specifying the data type name.

Parameters

EnableFullALFunctionTracing
 Type: Boolean
Specifies whether to enable method tracing.

Duration
 Type: Duration
Specifies the amount of time, in milliseconds, that verbose telemetry is enabled on the session. When the time is exceeded, system specified telemetry level is used again. The maximum value is 3600000, one hour.

Session Data Type
Get Started with AL
Developing Extensions