DoGetSearchResultsLimit Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Returns the SearchResultsLimit setting in the Web.config file.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Protected Function DoGetSearchResultsLimit As Integer
'Usage
Dim returnValue As Integer
returnValue = Me.DoGetSearchResultsLimit()
protected int DoGetSearchResultsLimit()
protected:
int DoGetSearchResultsLimit()
protected function DoGetSearchResultsLimit() : 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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.