EmailStoreEnumerationOptions
OfficeIMO.Email.Store
Controls bounded lightweight item enumeration from an open store.
Inheritance
- object
- EmailStoreEnumerationOptions
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 2
Accepted by parameters 2
Constructors
public EmailStoreEnumerationOptions(string? folderId = null, bool includeDescendants = false, bool includeAssociatedItems = false, bool includeOrphanedItems = false, int maxItems = 2147483647, bool includeRegularItems = true) #Creates item-enumeration options.
Parameters
- folderId string? = null
- includeDescendants bool = false
- includeAssociatedItems bool = false
- includeOrphanedItems bool = false
- maxItems int = 2147483647
- includeRegularItems bool = true
Methods
public static EmailStoreEnumerationOptions ForAssociated(EmailStoreFolderId? folderId = null, bool includeDescendants = false, int maxItems = 2147483647) #Creates an associated-information-only scope without scanning normal item tables.
Parameters
- folderId OfficeIMO.Email.Store.EmailStoreFolderId? = null
- includeDescendants bool = false
- maxItems int = 2147483647
Returns
EmailStoreEnumerationOptionspublic static EmailStoreEnumerationOptions ForFolder(EmailStoreFolderId folderId, bool includeDescendants = false, bool includeAssociatedItems = false, int maxItems = 2147483647) #Creates options for one typed folder scope.
Parameters
- folderId OfficeIMO.Email.Store.EmailStoreFolderId
- includeDescendants bool = false
- includeAssociatedItems bool = false
- maxItems int = 2147483647
Returns
EmailStoreEnumerationOptionsInherited Methods
Properties
public string? FolderId { get; } #Optional folder identifier. Null enumerates every folder.
public bool IncludeDescendants { get; } #Whether descendants of EmailStoreEnumerationOptions.FolderId are included.
public bool IncludeAssociatedItems { get; } #Whether folder-associated information items are included.
public bool IncludeOrphanedItems { get; } #Whether items missing from folder contents tables are recovered from source indexes.
public int MaxItems { get; } #Maximum references returned by one enumeration.
public bool IncludeRegularItems { get; } #Whether normal folder contents are included.