SRestriction Structure
Do not use. Describes a filter for limiting the view of a table to particular rows.
Syntax
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;
} SPropProblem;
Members
- rt
- ULONG
Variable of type ULONG that specifies the restriction type. The possible values are as follows.
RES_AND
SRestriction structure describes an AND restriction, which applies a bitwise AND operation to a restriction.
RES_BITMASK
SRestriction structure describes a bitmask restriction, which applies a bitmask to a property value.
RES_COMMENT
SRestriction structure describes a comment restriction, which associates a comment with a restriction.
RES_COMPAREPROPS
SRestriction structure describes a compare properties restriction, which compares two property values.
RES_CONTENT
SRestriction structure describes a content restriction, which searches a property value for specific content.
RES_EXIST
SRestriction structure describes an exist restriction, which determines if a property is supported.
RES_NOT
SRestriction structure describes a NOT restriction, which applies a logical NOT operation to a restriction.
RES_OR
SRestriction structure describes an OR restriction, which applies a logical OR operation to a restriction.
RES_PROPERTY
SRestriction structure describes a property restriction, which determines if a property value matches a particular value.
RES_SIZE
SRestriction structure describes a size restriction, which determines if a property value is a particular size.
RES_SUBRESTRICTION
SRestriction structure describes a subobject restriction, which applies a restriction to a message's attachments or recipients.
- res
Union of restriction structures describing the filter to be applied. The specific structure included in the res member depends on the value of the rt member. The following list gives the mapping between the structure and the restriction type.
- resCompareProps
- SComparePropsRestriction
RES_COMPAREPROPS
- resAnd
- SAndRestriction
RES_AND
- resOr
- SOrRestriction
RES_OR
- resNot
- SNotRestriction
RES_NOT
- resContent
- SContentRestriction
RES_CONTENT
- resProperty
- SPropertyRestriction
RES_PROPERTY
- resBitMask
- SBitMaskRestriction
RES_BITMASK
- resSize
- SSizeRestriction
RES_SIZE
- resExist
- SExistRestriction
RES_EXIST
- resSub
- SSubRestriction
RES_SUBRESTRICTION
- resComment
- SCommentRestriction
RES_COMMENT
Requirements
Minimum supported client | Windows 2000 Professional |
|---|---|
Minimum supported server | Windows 2000 Server |
Product | Internet Explorer 4.0 |
Header | Wabdefs.h |
DLL | Wab32.dll |
Send comments about this topic to Microsoft
Build date: 6/30/2010