![]() IDataCollectorSet cs = new DataCollectorSetClass() ![]() Following code will start, Data Collector Set named Page Split. Though you have perfmon with previous versions of OS you can start Data Collector Sets from C# only with Vista and Windows 2008.įirst, add PLALibrary to the reference from the %windir%\System32\PLA.dll and include using PlaLibrary at the top of your code. So the next question is, how to start Data Collector Sets from C#. Instead, you can include both the executing the Stored Procedure and starting the Data Collector Sets inside a C# or VB.net application. Normally, you need to execute the stored procedure and manually start the Data Collector Set which lead to some delay. For example, if you want to measure % of Processor soon after the execution of a stored procedure. ![]() Problem here is if you want to analyze something soon after you do it, there will be a time delay. In the Data Collect Set, you need to start the defined Data Collector Set. Reliability
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |