What are the challenges you face when working across database platforms? Take the survey

Controlling profiling via an API

To help me focus on important code, I would like to turn profiling on and off with an API (from C#).  Is this available?  Google finds documentation for ANTS v3 (http://help.red-gate.com/help/antsprofiler3/0/en/topics/AP_UsingTheAPI.html).  I guess the other alternative is to put some Sleeps in my code, before and after the important area, so I can use the time selector.


Sign In or Register to comment.