The exception that is thrown when a rules extension accesses an attribute that is not present on an object.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As AttributeNotPresentException

Syntax

Visual Basic
Public NotInheritable Class AttributeNotPresentException
		Inherits MetadirectoryServicesException
C#
public sealed class AttributeNotPresentException : MetadirectoryServicesException
C++
public ref class AttributeNotPresentException sealed : public MetadirectoryServicesException
J#
public final class AttributeNotPresentException extends MetadirectoryServicesException
JScript
public final class AttributeNotPresentException extends MetadirectoryServicesException

Remarks

When an attribute of a metaverse object is deleted, the attribute recall feature of Forefront Identity Manager Synchronization Service (FIM Synchronization Service) also deletes the corresponding attribute in the connecter object. During a metaverse synchronization run, the rules extension throws this exception because the rules extension is trying to set the value of an attribute that does not exist in the metaverse.

If you want the connector space attribute to remain after the metaverse attribute is deleted, in the Configure Deprovisioning property of the management agent, select Do not recall attributes contributed by objects from this management agent when disconnected. When you select this check box, the connector object attribute is retained in the connector space when the attribute of the metaverse object is deleted.

You can also get the value of the IsPresent property to verify that the attribute exists in the metaverse before flowing a new attribute value from the connector space.

For more information about the Configure Deprovisioning property of a management agent, see the Microsoft Forefront Identity Manager 2010 (FIM) Help.


Inheritance Hierarchy

System.Object
   System.Exception
     System.ApplicationException
       Microsoft.MetadirectoryServices.MetadirectoryServicesException
        Microsoft.MetadirectoryServices.AttributeNotPresentException

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