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
- 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.