IWSManEnumerator interface

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

Methods

The IWSManEnumerator interface has these methods.

Method Description
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::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

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

See also

Windows Remote Management Reference