IMVSynchronization.ShouldDeleteFromMV Method

Visual Studio 2010
Called when a connector space entry is disconnected during an import operation. This method determines whether the metaverse entry that is connected to the disconnecting connector space entry should be deleted.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Dim instance As IMVSynchronization
Dim csentry As CSEntry
Dim mventry As MVEntry
Dim returnValue As Boolean

returnValue = instance.ShouldDeleteFromMV(csentry, mventry)

bool ShouldDeleteFromMV (
	CSEntry csentry,
	MVEntry mventry
boolean ShouldDeleteFromMV (
	CSEntry csentry, 
	MVEntry mventry
function ShouldDeleteFromMV (
	csentry : CSEntry, 
	mventry : MVEntry
) : boolean



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


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 typeCondition

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 Forefront Identity Manager Synchronization Service (FIM Synchronization Service) determines that the connector space entry should be a disconnector, which means the object should not be connected.

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

Community Additions