Attach method to command AQtime to attach to the process with the specified process id. If the profiling status is enabled (see
EnableProfiling), AQtime starts profiling the process right after attaching to it. If the profiling status is off, AQtime will start profiling when you enable it with the
|AQtimeObj||An expression, variable or parameter that specifies a reference to an AQtime object|
The method is applied to the following object:
The method has the following parameter:
True, if the attachment was successful, False otherwise.
Settings of profiling areas and triggers, selected profiling mode (Normal, ASP.NET, IIS, Service or COM Server), and currently selected profiler are stores in AQtime project files. When you profile your application using the
Attach method, AQtime uses profiling mode and area and trigger settings stored in your AQtime project. Therefore, we recommend to prepare your project in AQtime before you profile that project with AQtime. If you need to change these settings, connect to and work with AQtime via its COM model.
To view an example, see the Integration With AQtime Using the AQtimeIntegration and AQtime Objects help topic.