Partager via


ManagementAgentCollection.GetEnumerator Method

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

Usage

'Usage
Dim instance As ManagementAgentCollection
Dim returnValue As ManagementAgentEnumerator

returnValue = instance.GetEnumerator

Syntax

'Declaration
Public MustOverride Function GetEnumerator As ManagementAgentEnumerator
public abstract ManagementAgentEnumerator GetEnumerator ()
public:
virtual ManagementAgentEnumerator^ GetEnumerator () abstract
public abstract ManagementAgentEnumerator GetEnumerator ()
public abstract function GetEnumerator () : ManagementAgentEnumerator

Return Value

Returns a ManagementAgentEnumerator object.

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

ManagementAgentCollection Class
ManagementAgentCollection Members
Microsoft.MetadirectoryServices Namespace
ManagementAgentCollection Class