SPFieldLookup.Indexed property
SharePoint 2013
Sets a Boolean value that specifies whether the field is indexed.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
| Exception | Condition |
|---|---|
| SPException | You attempted to set the property on a dependent field. Indexing is not available for dependent (or secondary) fields. |