PropertyCannotHaveMappingsException class

Thrown when mappings are added/modified or deleted from a managed property that is defined not to have any mappings.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.Search.Administration.SchemaException
      Microsoft.Office.Server.Search.Administration.PropertyCannotHaveMappingsException

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class PropertyCannotHaveMappingsException _
    Inherits SchemaException
'Usage
Dim instance As PropertyCannotHaveMappingsException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class PropertyCannotHaveMappingsException : SchemaException

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.

See also

Reference

PropertyCannotHaveMappingsException members

Microsoft.Office.Server.Search.Administration namespace