다음을 통해 공유


GetSearchResultsLimit Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Returns the value for the searchResultsLimit as defined in the Web.config file.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Public Function GetSearchResultsLimit As Integer
'Usage
Dim instance As OrderManagementContext
Dim returnValue As Integer

returnValue = instance.GetSearchResultsLimit()
public int GetSearchResultsLimit()
public:
int GetSearchResultsLimit()
public function GetSearchResultsLimit() : int

Return Value

Type: System..::.Int32
The value for the searchResultsLimit as defined in the Web.config file.

Remarks

Returns the maximum number of records that can be returned from a search operation.

This method delegates the call to DoGetSearchResultsLimit.

Permissions

See Also

Reference

OrderManagementContext Class

OrderManagementContext Members

Microsoft.CommerceServer.Orders Namespace