Microsoft Identity Integration Server 2003 Developer Reference


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


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


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"];


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