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?

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?

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.