ManagedProperty.MaxNumberOfValues property
Gets or sets the maximum number of values that can be stored in this managed property.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Property MaxNumberOfValues As Integer
Get
Set
'Usage
Dim instance As ManagedProperty
Dim value As Integer
value = instance.MaxNumberOfValues
instance.MaxNumberOfValues = value
public int MaxNumberOfValues { get; set; }
Property value
Type: System.Int32
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | If this object is not backed. |
PropertyIsReadOnlyException | If this property is read only. |