ManagementAgentCollection
The ManagementAgentCollection class represents a collection of ManagementAgent objects.
Note This class contains a collection of ManagementAgent objects; however, enumeration of the management agents in the collection returns the name of the management agents as strings. For more information, see ManagementAgentEnumerator.
The ManagementAgentCollection class is derived from the System.Object class.
Public Methods
The ManagementAgentCollection class has the following public methods.
Method | Description |
---|---|
Equals |
Determines if two objects are equal. |
GetEnumerator |
Retrieves a ManagementAgentEnumerator object that allows enumeration of the members of the collection. |
GetHashCode |
Serves as a hash function for a particular type. |
GetType |
Retrieves the Type of the current object. |
ToString |
Retrieves a String that represents the current object. |
Public Properties
The ManagementAgentCollection class defines the following public properties.
Property | Description |
---|---|
Count | Data type: Int32 Access type: Read-only Retrieves the number of items in the ManagementAgentCollection object. |
Item | Data type: ManagementAgent Access type: Read-only Retrieves a specific member of the collection. |
Protected Constructors
The ManagementAgentCollection class has the following protected constructor.
Constructor | Description |
---|---|
ManagementAgentCollection |
Creates an instance of the ManagementAgentCollection class. |
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
ManagementAgent
ManagementAgentEnumerator
Send comments about this topic to Microsoft
Build date: 2/16/2009