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.WebService
Assembly:  Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function GetSearchResultsLimit As Integer
'Usage
Dim instance As OrdersWebService
Dim returnValue As Integer

returnValue = instance.GetSearchResultsLimit()
[WebMethodAttribute]
public virtual int GetSearchResultsLimit()
[WebMethodAttribute]
public:
virtual 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 as part of a search.

Permissions

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace