Share via


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)

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.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace