Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)
Usage
Visual Basic |
---|
Dim instance As CSEntry instance.CommitNewConnector |
Syntax
Visual Basic |
---|
Public MustOverride Sub CommitNewConnector |
C# |
---|
public abstract void CommitNewConnector () |
C++ |
---|
public: virtual void CommitNewConnector () abstract |
J# |
---|
public abstract void CommitNewConnector () |
JScript |
---|
public abstract function CommitNewConnector () |
Exceptions
Exception type | Condition |
---|---|
AttributeNotPresentException |
The attributes that contribute to the anchor are not set. |
System.InvalidOperationException |
The DN property on the new connector has not been set. |
MissingParentObjectException |
The rules extension tried to add a connector that has a non-existent parent object. |
NoCompatiblePartitionFoundException |
The rules extension tried to add a connector that does not file the filter criteria for any partitions of the management agent. |
ObjectAlreadyExistsException |
The rules extension tried to add a connector, but a CSEntry object that has the specified distinguished name already exists in that connector space. |
Remarks
After creating the connector with the 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 on the data source to which the metaverse entry attributes are exported.
Because different management agents require different (relative) distinguished name (DN) formats, this method handles distinguished names based on the type of management agent. The types are: database management agents, XML without Lightweight Directory Access Protocol (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 |
|