API Reference
EmailStoreQuery
Bounded query evaluated over lightweight summaries from an open store session.
Inheritance
- Object
- EmailStoreQuery
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Accepted by parameters 3
- Constructor EmailStoreContentQuery.EmailStoreContentQuery
- Method EmailStoreSession.Search
- Method EmailStoreSession.SearchWithReport
Constructors
public EmailStoreQuery(String? folderId = null, Boolean includeDescendants = false, Boolean includeAssociatedItems = false, Boolean includeOrphanedItems = false, OutlookItemKind? itemKind = null, String? subjectContains = null, String? senderContains = null, DateTimeOffset? since = null, DateTimeOffset? before = null, Boolean? hasAttachments = null, Boolean? isRead = null, Int32 maxItemsScanned = 1000000, Int32 maxResults = 1000) #Creates a bounded store query.
Parameters
- folderId System.String? = null
- includeDescendants System.Boolean = false
- includeAssociatedItems System.Boolean = false
- includeOrphanedItems System.Boolean = false
- itemKind OfficeIMO.Email.OutlookItemKind? = null
- subjectContains System.String? = null
- senderContains System.String? = null
- since System.DateTimeOffset? = null
- before System.DateTimeOffset? = null
- hasAttachments System.Boolean? = null
- isRead System.Boolean? = null
- maxItemsScanned System.Int32 = 1000000
- maxResults System.Int32 = 1000
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String? FolderId { get; } #Optional folder identifier. Null searches every folder.
public Boolean IncludeDescendants { get; } #Whether descendants of EmailStoreQuery.FolderId are included.
public Boolean IncludeAssociatedItems { get; } #Whether folder-associated information items are searched.
public Boolean IncludeOrphanedItems { get; } #Whether items recovered outside folder contents tables are searched.
public String? SubjectContains { get; } #Optional case-insensitive subject fragment.
public String? SenderContains { get; } #Optional case-insensitive sender name or address fragment.
public DateTimeOffset? Since { get; } #Optional inclusive lower bound applied to received time, then sent time.
public DateTimeOffset? Before { get; } #Optional exclusive upper bound applied to received time, then sent time.
public Boolean? HasAttachments { get; } #Optional declared attachment-presence filter.
public Int32 MaxItemsScanned { get; } #Maximum references whose summaries may be evaluated.