ContentIterator.ItemEnumerationOrderByPath Property

Gets an OrderBy clause that orders query items by URL.

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Shared ReadOnly Property ItemEnumerationOrderByPath As String
    Get
'Usage
Dim value As String

value = ContentIterator.ItemEnumerationOrderByPath
public static string ItemEnumerationOrderByPath { get; }

Property Value

Type: System.String
Returns String.

Remarks

Used to query for items within a folder.

When querying within a folder on a large list, the query must specify this OrderBy clause or it will be throttled since the default OrderBy clause is ItemEnumerationOrderByIDDesc, which orders SPQuery items in descending order.

See Also

Reference

ContentIterator Class

ContentIterator Members

Microsoft.Office.Server.Utilities Namespace