Microsoft Identity Integration Server 2003 Developer Reference


The Item property retrieves the connector object at the specified index.
public CSEntry this[
  Int32 index
] {get;}
[Visual Basic .NET]
Public ReadOnly Property Item( _
  ByVal index As Int32 _
) As CSEntry


Contains the zero-based index of the connector to retrieve.


Exception type Condition
ArgumentOutOfRangeException The connector is not present in the collection.

Example Code [Visual Basic .NET]

The following example demonstrates how to use this property:

Dim connMA As ConnectedMA
Dim connectorsByIndex As ConnectorCollectionByIndex
Dim i As Integer

connMA = mventry.ConnectedMAs("Fabrikam HR MA")
connectorsByIndex = connMA.Connectors.ByIndex
For i = 0 To connMA.Connectors.Count Step 1
	Dim connector As CSEntry
	connector = connectorsByIndex(i)

Example Code [C#]

ConnectedMA connMA = mventry.ConnectedMAs["Fabrikam HR MA"];
ConnectorCollectionByIndex connectorsByIndex = connMA.Connectors.ByIndex;
for(int i = 0; i < connMA.Connectors.Count; i++)
	CSEntry connector = connectorsByIndex[i];


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

ConnectorCollectionByIndex, CSEntry