Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Item property retrieves the connector object with the specified distinguished name.
public CSEntry this[
ReferenceValue DN
] {get;}
Public ReadOnly Property Item( _
ByVal DN As ReferenceValue _
) As CSEntry
Parameters
- DN
Contains a ReferenceValue object that contains the distinguished name of the connector to retrieve.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The DN is null. |
NoSuchObjectException | The connector is not present in the collection. |
Examples
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)
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];
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
ConnectorCollectionByDN
CSEntry
NoSuchObjectException
ReferenceValue
Send comments about this topic to Microsoft
Build date: 2/16/2009