Microsoft Identity Integration Server 2003 Developer Reference

IMVSynchronization.ShouldDeleteFromMV

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.
[C#]
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

Parameters

csentry
[in] Contains a CSEntry object that represents the connector space entry that has been disconnected.
mventry
[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.

Exceptions

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

Remarks

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.

Requirements

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