IMVSynchronization::ShouldDeleteFromMV Method

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
Public Function ShouldDeleteFromMV( _
  ByVal csentry As CSEntry, _
  ByVal mventry As MVEntry _
) As Boolean
Implements IMVSynchronization.ShouldDeleteFromMV


  • csentry

    Contains a CSEntry object that represents the connector space entry that has been disconnected.

  • mventry

    Contains an MVEntry object that represents the metaverse entry that will be deleted if this method returns True.

Return Value

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


Exception type Condition

The rules extension does not implement this method.


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 ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

Example: Creating a Rules Extension from Multiple Sources

Send comments about this topic to Microsoft

Build date: 2/16/2009