次の方法で共有


Querying Data Collector Sets

Data collector sets are saved to disk when you call the IDataCollectorSet::Commit method. To retrieve a saved data collector set, call the IDataCollectorSet::Query method. For an example that shows how to use the Query method, see Querying a Data Collector Set.

To retrieve all saved data collector sets on a computer or sets from a specific namespace on a computer, call the IDataCollectorSetCollection::GetDataCollectorSets method. For an example that shows how to use the GetDataCollectorSets method, see Querying All Data Collector Sets.