Share via


DiscoveryData.AddCollection Method

Adds a collection of discovery data items.

 DiscoveryData.AddCollection(pCollection As Object)

Parameters

  • pCollection
    The collection of discovery data items.

Remarks

You can't directly update individual items in a DiscoveryData object. You must retrieve all items using CreateCollection, apply changes to the collection, and then add the modified collection back using the AddCollection method.

Requirements

Platforms: Requires Windows 2000 or later

Version: Requires MOM 2005 or later

See Also

DiscoveryData Object | DiscoveryData.CreateCollection Method