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.

Syntax

public bool ShouldDeleteFromMV(
  CSEntry csentry,
  MVEntry mventry
);
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 Value

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

See Also

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

Send comments about this topic to Microsoft

Build date: 2/16/2009