# EmailStoreRecoveryOptions

Bounds for non-mutating recovery discovery through store indexes.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStoreRecoveryOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryOptions.cs#L6)

**Modifiers**

sealed

Bounds for non-mutating recovery discovery through store indexes.

## Inheritance

- object
- EmailStoreRecoveryOptions

## Usage

Explore 3 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

- Property [EmailStoreRecoveryExportOptions.DiscoveryOptions](/api/email/officeimo-email-store-emailstorerecoveryexportoptions/#property-discoveryoptions)

### Accepted by parameters 2

- Constructor [EmailStoreRecoveryExportOptions.EmailStoreRecoveryExportOptions](/api/email/officeimo-email-store-emailstorerecoveryexportoptions/#constructor-ctor-officeimo-email-store-emailstorerecoveryoptions-officeimo-email-emailfileformat-boolean-boolean-boolean-boolean-officeimo-email-emailwriteroptions) parameter `discoveryOptions`
- Method [EmailStoreSession.DiscoverRecoverableItems](/api/email/officeimo-email-store-emailstoresession/#method-discoverrecoverableitems-officeimo-email-store-emailstorerecoveryoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public EmailStoreRecoveryOptions(string? folderId = null, bool includeDescendants = false, bool includeAssociatedItems = false, int maxItemsScanned = 1000000, int maxRecoveredItems = 10000)` [#](#constructor-ctor-string-boolean-boolean-int32-int32)

[EmailStoreRecoveryOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryOptions.cs#L6)

Creates recovery-discovery options.

Parameters

**folderId string? = null optional**

**includeDescendants bool = false optional**

**includeAssociatedItems bool = false optional**

**maxItemsScanned int = 1000000 optional**

**maxRecoveredItems int = 10000 optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string? FolderId { get; }` [#](#property-folderid)

[EmailStoreRecoveryOptions.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryOptions.cs#L22)

Optional folder identifier. Null scans every folder.

`public bool IncludeDescendants { get; }` [#](#property-includedescendants)

[EmailStoreRecoveryOptions.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryOptions.cs#L25)

Whether descendants of [EmailStoreRecoveryOptions.FolderId](/api/email/officeimo-email-store-emailstorerecoveryoptions/) are included.

`public bool IncludeAssociatedItems { get; }` [#](#property-includeassociateditems)

[EmailStoreRecoveryOptions.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryOptions.cs#L28)

Whether associated-item indexes are scanned.

`public int MaxItemsScanned { get; }` [#](#property-maxitemsscanned)

[EmailStoreRecoveryOptions.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryOptions.cs#L31)

Maximum item references examined.

`public int MaxRecoveredItems { get; }` [#](#property-maxrecovereditems)

[EmailStoreRecoveryOptions.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryOptions.cs#L34)

Maximum recovered references retained in the report.

<!-- PowerForge markdown artifact sha256:9DFAEE97AF6827AC54E2EE197199B46B8ACB7F2A5F720EE401A29C0C9AE53BF5 -->
