ManagementAgentEnumerator
The ManagementAgentEnumerator class is enumerates ManagementAgent objects and returns the name of the current management agent as a string. This class is obtained by calling ManagementAgentCollection.GetEnumerator.
The ManagementAgentEnumerator class is derived from the IEnumerator class.
Public Methods
The ManagementAgentEnumerator class has the following public methods.
Method | Description |
---|---|
Equals |
Determines if two objects are equal. |
GetHashCode |
Serves as a hash function for a particular type. |
GetType |
Retrieves the Type of the current object. |
MoveNext |
Advances the enumerator to the next management agent name in the enumeration. |
Reset |
Sets the enumerator to the first management agent name in the enumeration. |
ToString |
Retrieves a String that represents the current object. |
Public Properties
The ManagementAgentEnumerator class defines the following public property.
Property | Description |
---|---|
Current | Data type: String Access type: Read-only Retrieves the current management agent name in the enumerator. |
Protected Constructors
The ManagementAgentEnumerator class has the following protected constructor.
Constructor | Description |
---|---|
ManagementAgentEnumerator |
Creates an instance of the ManagementAgentEnumerator class. |
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
ManagementAgent
ManagementAgentCollection.GetEnumerator
Send comments about this topic to Microsoft
Build date: 2/16/2009