CSEntry.CommitNewConnector Method
The CommitNewConnector method finishes the process of creating a connector and adding it to the ConnectorCollection object. This method is not available in the IMAExtensibleCallExport.ExportEntry(ModificationType, String[], CSEntry) method.
Syntax
public void CommitNewConnector();
Public Sub CommitNewConnector()
Parameters
This method has no parameters.
Return Value
This method does not return a value.
Exceptions
Exception type | Condition |
---|---|
AttributeNotPresentException | The attributes that contribute to the anchor are not set. |
InvalidOperationException | The DN property on the new connector has not been set. |
MissingParentObjectException | The rules extension has attempted to add a connector with a non-existent parent object. |
NoCompatiblePartitionFoundException | The rules extension attempts to add a connector that does not file the filter criteria for any partitions of the management agent. |
ObjectAlreadyExistsException | The rules extension attempts to add a connector where a CSEntry object with the specified distinguished name already exists in that connector space. |
Remarks
After creating the connector with the ConnectorCollection.StartNewConnector method, call this method to add the new connector. If you do not call this method, the object is rolled back to the original attribute values.
Do not call this method when a management agent is in the process of being deleted.
Be aware that the attributes you set on the CSEntry object in the Provision method depend upon the data source to which the metaverse entry attributes are exported.
Because different management agents require different (relative) distinguished name formats, this method handles distinguished names based upon the type of management agent. The types are database management agents; XML without LDAP-style distinguished names; and the management agents that are neither database nor XML.
Management agent type | Distinguished name handling notes |
---|---|
Database |
|
XML |
|
All other types |
|
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
ConnectorCollection
CSEntry
IMAExtensibleCallExport.ExportEntry(ModificationType, String[], CSEntry)
Send comments about this topic to Microsoft
Build date: 2/16/2009