Share via


NoCompatiblePartitionFoundException Class

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

'Usage
Dim instance As NoCompatiblePartitionFoundException

Syntax

'Declaration
Public NotInheritable Class NoCompatiblePartitionFoundException
    Inherits MetadirectoryServicesException
public sealed class NoCompatiblePartitionFoundException : MetadirectoryServicesException
public ref class NoCompatiblePartitionFoundException sealed : public MetadirectoryServicesException
public final class NoCompatiblePartitionFoundException extends MetadirectoryServicesException
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

Reference

NoCompatiblePartitionFoundException Members
Microsoft.MetadirectoryServices Namespace
MetadirectoryServicesException Class
ReferenceValue
Microsoft.MetadirectoryServices