다음을 통해 공유


SPUtility.AllItemsQuery Method

NOTE: This API is now obsolete.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

Syntax

'Declaration
<ObsoleteAttribute("Please write your own SPQuery,this call will be throttled for big list.")> _
Public Shared Function AllItemsQuery ( _
    ViewFields As String _
) As SPQuery
'Usage
Dim ViewFields As String
Dim returnValue As SPQuery

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

Parameters

Return Value

Type: Microsoft.SharePoint.SPQuery
Returns SPQuery.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace