Partager via


ManagementAgentEnumerator.MoveNext Method

Advances the enumerator to the next management agent name in the enumeration.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As ManagementAgentEnumerator
Dim returnValue As Boolean

returnValue = instance.MoveNext

Syntax

'Declaration
Public MustOverride Function MoveNext As Boolean
public abstract bool MoveNext ()
public:
virtual bool MoveNext () abstract
public abstract boolean MoveNext ()
public abstract function MoveNext () : boolean

Return Value

Returns true if the enumerator is advanced to the next management agent name in the enumeration, or false if there are no more management agent names in the enumeration.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

ManagementAgentEnumerator Class
ManagementAgentEnumerator Members
Microsoft.MetadirectoryServices Namespace
ManagementAgentEnumerator Class