mapi.HrQueryAllRows

SRowSet = HrQueryAllRows(table, properties , restrictions , sortOrderSet , rowsMax )

Parameters

table : PyIMAPITable

properties : PySPropTagArray

A sequence of property tags indicating table columns. These tags are used to select the specific columns to be retrieved. If this parameter is None, HrQueryAllRows retrieves the entire column set of the current table view passed in the table parameter.

restrictions : PySRestriction

Defines the retrieval restrictions. If this parameter is None, HrQueryAllRows makes no restrictions.

sortOrderSet : PySSortOrderSet

Identifies the sort order of the columns to be retrieved. If this parameter is None, the default sort order for the table is used.

rowsMax : int

Maximum number of rows to be retrieved. If the value of the rowsMax parameter is zero, no limit on the number of rows retrieved is set.