IWSManEnumerator interface (wsmandisp.h)

Represents a stream of results returned from operations such as a WS-Management protocol WS-Enumeration:Enumerate operation.

Inheritance

The IWSManEnumerator interface inherits from the IUnknown interface. IWSManEnumerator also has these types of members:

Methods

The IWSManEnumerator interface has these methods.

 
IWSManEnumerator::get_AtEndOfStream

Indicates that the end of items in the IWSManEnumerator object has been reached by calls to IWSManEnumerator::ReadItem.
IWSManEnumerator::get_Error

Gets an XML representation of additional error information. (IWSManEnumerator.get_Error)
IWSManEnumerator::ReadItem

Retrieves an item from the resource and returns an XML representation of the item.

Remarks

The corresponding scripting object is Enumerator.

To limit the number of items that are read, set the IWSManSession::BatchItems property.

Be aware that freeing the enumeration object clears pending enumeration requests.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wsmandisp.h

See also

Windows Remote Management Reference