IMVSynchronization接口说明

IMVSynchronization

IMVSynchronization 接口对MIIS元数据提供扩展功能

The IMVSynchronization interface is implemented by a Microsoft Identity Integration Server rules extension to provide rules extension functionality for the metaverse.

The IMVSynchronization interface is derived from the System.Object class.

公有方法

The IMVSynchronization interface has the following public methods.

Initialize(初始化)

初始化规则对象。当MIIS装载扩展时就会调用此方法。

这个方法是在删除、新增、更新扩展目录中程序集时就会被调用。

Initializes the rules extension object. The Identity Integration Server calls this method when it loads the extension. This method is also called if you drop a new or updated assembly into the extensions folder.

IMVSynchronization.Initialize()

The IMVSynchronization.Initialize method initializes the rules extension object.

[C#]
public void Initialize();
[Visual Basic .NET]
Public Sub Initialize()
Implements IMVSynchronization.Initialize
参数

这个方法没有参数。

返回值

没有返回值。

注释

If an exception occurs in this method, the IMVSynchronization.Terminate method is not called. If the IMVSynchronization.Terminate method releases any resources allocated in this method, those resources remain when an exception occurs because the IMVSynchronization.Terminate method is not called. Release any resources allocated in this method as part of your exception handling routine.

如果这个方法发生异常,方法IMVSynchronization.Terminate 就不会调用

 

 

Provision

根据MV对象创建新的MA对象。当同步规则引起MV对象改变时MIIS就会调用此方法。

Evaluates connected objects in response to changes to a metaverse object. The Identity Integration Server calls this method during a management agent run when synchronization rules cause a change in the metaverse object.

ShouldDeleteFromMV

在元数据对象在同步时状态变断开连接时,将删除元数据空间和MA空间对象时被调用。

当删除规则已经配置规则扩展时,MIIS将会调用此方法。

Determines if the metaverse object should be deleted along with the connector space object after a connector space object has been disconnected from a metaverse object during inbound synchronization. The Identity Integration Server calls this method when an object deletion rule, which was configured in Identity Manager to use a rules extension, is triggered.

Terminate

当扩展程序集不再使用时MIIS将调用此方法来卸载它。

Called when the rules extension object is no longer needed. The Identity Integration Server calls this method when the extension is unloaded, which normally occurs after 5 minutes of inactivity. Note that you cannot change the inactivity period and should not assume the period will always remain as 5 minutes in subsequent releases.

Requirements

Product
Requires Microsoft Identity Integration Server 2003.

Namespace

Defined in Microsoft.MetadirectoryServices.

Assembly

Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).

.NET Framework

Requires .NET Framework 2.0.

Send comments about this topic to Microsoft

Build date: 3/22/2007

© 2007 Microsoft Corporation. All rights reserved.

原文地址:https://www.cnblogs.com/LifelongLearning/p/1338494.html