Microsoft Identity Integration Server 2003 Developer Reference


The ShouldDeleteFromMV method is called when a connector space entry is disconnected during an import operation. This method determines if the metaverse entry connected to the disconnecting connector space entry should be deleted.
public bool ShouldDeleteFromMV(
  CSEntry csentry,
  MVEntry mventry
[Visual Basic .NET]
Public Function ShouldDeleteFromMV( _
  ByVal csentry As CSEntry, _
  ByVal mventry As MVEntry _
) As Boolean
Implements IMVSynchronization.ShouldDeleteFromMV


[in] Contains a CSEntry object that represents the connector space entry that has been disconnected.
[in] Contains an MVEntry object that represents the metaverse entry that will be deleted if this method returns true.

Return Values

Returns True if the connected metaverse entry should be deleted or False if it should not be deleted.


Exception type Condition
EntryPointNotImplementedException The rules extension does not implement this method.
UnexpectedDataException The method received unexpected data.


A connector space entry will be disconnected during an import operation when the connector space entry is deleted from the connected directory. The disconnection can also occur when Microsoft Identity Integration Server determines that the connector space entry should be a disconnector, which means the object should not be connected.

The CSEntry.ConnectionState property is not available in this method. Accessing this property in this method results in an exception.


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

CSEntry, IMVSynchronization, MVEntry, Example: Creating a Rules Extension from Multiple Sources