Microsoft Identity Integration Server 2003 Developer Reference

ConnectedMACollection.Item

The ConnectedMACollection.Item property retrieves a specific member of the collection.
[C#]
public ConnectedMA this[
  string MAName
] {get;}
[Visual Basic .NET]
Public ReadOnly Property Item( _
  ByVal MAName As String _
) As ConnectedMA

Parameters

MAName
The name of the management agent to retrieve. The management agent name is not case-sensitive.

Exceptions

Exception type Condition
ArgumentNullException The MAName is null.
NoSuchManagementAgentException The management agent is not present in the collection.

Example Code [Visual Basic .NET]

The following example demonstrates how to use this property:

Dim connMA as ConnectedMA 
connMA = mventry.ConnectedMAs("Fabrikam HR MA")

Example Code [C#]

The following example demonstrates how to use this property:

ConnectedMA connMA = mventry.ConnectedMAs["Fabrikam HR MA"];

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

ConnectedMA, ConnectedMACollection, NoSuchManagementAgentException