0

Hi,

Does anybody have the idea on Data collector sets in Reliability and performance monitor.. I want to programmatically delete all the existing data collector sets.. any pointers plzz..

I have found the following code, to do in Windows. http://msdn.microsoft.com/en-us/library/bb509350(VS.85).aspx

But I need to do it in C#. can anyone pl tell me where to begin with?

2
Contributors
2
Replies
4
Views
7 Years
Discussion Span
Last Post by markuspoeh
0

I have just started with this..

using PlaLibrary;
......
......
......
DataCollectorSet dcs = new DataCollectorSetClass();

IDataCollectorSetCollection dcsCollection = new DataCollectorSetCollection();

dcsCollection.GetDataCollectorSets(null, null);

From the above method/any, is there a way to get the list of only user defined data collector sets?

0

PLease does anyone have an answer to this question? I am trying to get a list of all DataCollectorSets in the first place, with the intention to filter on the user defined afterwards, but I cant realize to gt a list at all... The GetDataCollectors(null,null) method unfortunately does not return something I am able to work with... :( TY

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.