SRestriction
Office 2013 and later
Last modified: July 23, 2011
Applies to: Outlook
Describes a filter for limiting the view of a table to particular rows.
|
Header file: |
Mapidefs.h |
typedef struct _SRestriction { ULONG rt; union { SComparePropsRestriction resCompareProps; SAndRestriction resAnd; SOrRestriction resOr; SNotRestriction resNot; SContentRestriction resContent; SPropertyRestriction resProperty; SBitMaskRestriction resBitMask; SSizeRestriction resSize; SExistRestriction resExist; SSubRestriction resSub; SCommentRestriction resComment; } res; } SRestriction;
Clients use an SRestriction structure to limit the number and type of rows in their view of a table and to search for specific messages in a folder. To impose the limitation on a table, clients call either IMAPITable::Restrict or IMAPITable::FindRow. To impose the limitation on a folder, clients call the folder's IMAPIContainer::SetSearchCriteria method.
For information about how to use restrictions with tables, see About Restrictions.
Show: