Compartilhar via


IMVSynchronization.ShouldDeleteFromMV Method

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)

Usage

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

returnValue = instance.ShouldDeleteFromMV(csentry, mventry)

Syntax

'Declaration
Function ShouldDeleteFromMV ( _
    csentry As CSEntry, _
    mventry As MVEntry _
) As Boolean
bool ShouldDeleteFromMV (
    CSEntry csentry,
    MVEntry mventry
)
bool ShouldDeleteFromMV (
    CSEntry^ csentry, 
    MVEntry^ mventry
)
boolean ShouldDeleteFromMV (
    CSEntry csentry, 
    MVEntry mventry
)
function ShouldDeleteFromMV (
    csentry : CSEntry, 
    mventry : MVEntry
) : boolean

Parameters

  • 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.

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 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.

Thread Safety

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

Platforms

Target Platforms

See Also

Reference

IMVSynchronization Interface
IMVSynchronization Members
Microsoft.MetadirectoryServices Namespace
CSEntry Class
MVEntry
IMVSynchronization Interface

Other Resources

Example: Creating a Rules Extension from Multiple Sources