The exception that is thrown when a rules extension tries to add a connector in which a distinguished name component is not compatible with the structure of any partitions of the management agent.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As NoCompatiblePartitionFoundException

Syntax

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

Remarks

Given an Active Directory management agent with one partition (DC=mytest, DC=fabrikam, DC=com) and one OU=testorg, the following distinguished names would produce the indicated results.

DN Result

CN=exampleCN1

NoCompatiblePartitionFoundException

CN=exampleCN1,DC=mytest,DC=fabrikam,DC=com

MissingParentObjectException

CN=exampleCN1,DC=mytest

NoCompatiblePartitionFoundException

CN=exampleCN1,DC=fabrikam,DC=com

NoCompatiblePartitionFoundException

CN=exampleCN1,DC=exampleDC2

NoCompatiblePartitionFoundException

CN=exampleCN1,CN=exampleCN2

NoCompatiblePartitionFoundException

DC=exampleDC1

NoCompatiblePartitionFoundException

CN=exampleCN1,OU=testorg,DC=mytest,DC=fabrikam,DC=com

Success


Inheritance Hierarchy

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

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