SPWebApplication.MaxQueryLookupFields Property
Gets or sets the maximum number of lookup fields that may be included in a list item query.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property MaxQueryLookupFields As UInteger
Get
Set
'Usage
Dim instance As SPWebApplication
Dim value As UInteger
value = instance.MaxQueryLookupFields
instance.MaxQueryLookupFields = value
public uint MaxQueryLookupFields { get; set; }
Property Value
Type: System.UInt32
UInt32
The maximum number of lookup fields that may be included.
Exceptions
Exception | Condition |
---|---|
SecurityException | The current user is not a farm administrator. |