ManagedProperty.OverrideValueOfHasMultipleValues property
Gets or set whether this managed property should be allowed to have multiple values even though there is only a single (or no) mappings to this managed property.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Property OverrideValueOfHasMultipleValues As Boolean
Get
Set
'Usage
Dim instance As ManagedProperty
Dim value As Boolean
value = instance.OverrideValueOfHasMultipleValues
instance.OverrideValueOfHasMultipleValues = value
public bool OverrideValueOfHasMultipleValues { get; set; }
Property value
Type: System.Boolean
Returns Boolean.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | If this object is not backed. |
PropertyIsReadOnlyException | If this property is read only. |
DatabaseException | If there was an error querying the database. |
InvalidMappingException | If any of this property's mappings map value of the wrong type. |