The EnableTracing property gets or sets the Enable Tracing to File check box in the Trace tab of the File Options window.
object.EnableTracing
object.EnableTracing = Value