Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the content type field ID is indexed for the SPList object.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Shared Function ListHasIndexedContentType ( _
list As SPList _
) As Boolean
'Usage
Dim list As SPList
Dim returnValue As Boolean
returnValue = ContentIterator.ListHasIndexedContentType(list)
public static bool ListHasIndexedContentType(
SPList list
)
Parameters
- list
Type: Microsoft.SharePoint.SPList
The SPList.
Return Value
Type: System.Boolean
true if the field is indexed; otherwise, false.
Returns Boolean.
Remarks
If the content type field is not indexed, queries on content type are subject to throttling.