Microsoft Identity Integration Server 2003 Developer Reference


The Item property retrieves the connector object with the specified distinguished name.
public CSEntry this[
  ReferenceValue DN
] {get;}
[Visual Basic .NET]
Public ReadOnly Property Item( _
  ByVal DN As ReferenceValue _
) As CSEntry


Contains a ReferenceValue object that contains the distinguished name of the connector to retrieve.


Exception type Condition
ArgumentNullException The DN is null.
NoSuchObjectException 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 connectorsByDN As ConnectorCollectionByDN
Dim dn As ReferenceValue
Dim connJeffSmith As CSEntry

connMA = mventry.ConnectedMAs("Fabrikam HR MA")
connectorsByDN = connMA.Connectors.ByDN
dn = connMA.CreateDN("CN=Jeff Smith,DC=fabrikam,DC=com")
connJeffSmith = connectorsByDN(dn)

Example Code [C#]

ConnectedMA connMA = mventry.ConnectedMAs["Fabrikam HR MA"];
ConnectorCollectionByDN connectorsByDN = connMA.Connectors.ByDN;
ReferenceValue dn = connMA.CreateDN("CN=Jeff Smith,DC=fabrikam,DC=com");
CSEntry connJeffSmith = connectorsByDN[dn];


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

ConnectorCollectionByDN, CSEntry, NoSuchObjectException, ReferenceValue