EmailStoreQuery
OfficeIMO.Email.Store
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, bool includeDescendants = false, bool includeAssociatedItems = false, bool includeOrphanedItems = false, OutlookItemKind? itemKind = null, string? subjectContains = null, string? senderContains = null, DateTimeOffset? since = null, DateTimeOffset? before = null, bool? hasAttachments = null, bool? isRead = null, int maxItemsScanned = 1000000, int maxResults = 1000) #Creates a bounded store query.
Parameters
- folderId string? = null
- includeDescendants bool = false
- includeAssociatedItems bool = false
- includeOrphanedItems bool = false
- itemKind OfficeIMO.Email.OutlookItemKind? = null
- subjectContains string? = null
- senderContains string? = null
- since System.DateTimeOffset? = null
- before System.DateTimeOffset? = null
- hasAttachments bool? = null
- isRead bool? = null
- maxItemsScanned int = 1000000
- maxResults int = 1000
Inherited Methods
Properties
public string? FolderId { get; } #Optional folder identifier. Null searches every folder.
public bool IncludeDescendants { get; } #Whether descendants of EmailStoreQuery.FolderId are included.
public bool IncludeAssociatedItems { get; } #Whether folder-associated information items are searched.
public bool 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 bool? HasAttachments { get; } #Optional declared attachment-presence filter.
public int MaxItemsScanned { get; } #Maximum references whose summaries may be evaluated.