ManagementAgentCollection.Item Property
The ManagementAgentCollection.Item property retrieves a specific member of the collection. Items in the collection are returned as strings.
public ManagementAgent this[
string MAName
] {get;}
Public ReadOnly Property Item( _
ByVal MAName As String _
) As ManagementAgent
Parameters
- MAName
Contains a string that identifies the management agent to retrieve. The management agent name is not case-sensitive. If the management agent is not present in the collection, this property will throw the NoSuchManagementAgentException exception.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The argument is null. |
NoSuchManagementAgentException | The management agent identified by the MAName parameter is not present in the collection. |
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
ManagementAgent
ManagementAgentCollection
NoSuchManagementAgentException
Send comments about this topic to Microsoft
Build date: 2/16/2009