Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AllItemsQuery method
Collapse the table of content
Expand the table of content

SPUtility.AllItemsQuery method

NOTE: This API is now obsolete.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("Please write your own SPQuery,this call will be throttled for big list.")]
public static SPQuery AllItemsQuery(
	string ViewFields


Type: System.String

Return value

Type: Microsoft.SharePoint.SPQuery
Returns SPQuery.
© 2015 Microsoft