# EmailStorePstSplitOptions

Query, size-estimation, verification, and commit policy for PST splitting.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStorePstSplitOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L8)

**Modifiers**

sealed

Query, size-estimation, verification, and commit policy for PST splitting.

## Inheritance

- object
- EmailStorePstSplitOptions

## 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 [EmailStorePstSplitPlan.Options](/api/email/officeimo-email-store-emailstorepstsplitplan/#property-options)

### Accepted by parameters 2

- Method [EmailStoreSession.PlanPstSplit](/api/email/officeimo-email-store-emailstoresession/#method-planpstsplit-string-officeimo-email-store-emailstorepstsplitoptions-threading-cancellationtoken) parameter `options`
- Method [EmailStoreSession.SplitToPst](/api/email/officeimo-email-store-emailstoresession/#method-splittopst-string-officeimo-email-store-emailstorepstsplitoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public EmailStorePstSplitOptions(EmailStoreTableQuery? query = null, long maxEstimatedBytesPerPart = 3500000000, long unknownItemEstimateBytes = 1048576, long perItemOverheadBytes = 16384, int maxParts = 1000, bool overwriteExisting = false, bool failOnLoss = true, bool continueOnItemError = false, bool includeSearchFolders = false, int maxNestedMessageDepth = 32, EmailSemanticComparisonOptions? verificationOptions = null, int maxVerificationIssues = 1000)` [#](#constructor-ctor-officeimo-email-store-emailstoretablequery-int64-int64-int64-int32-boolean-boolean-boolean-boolean-int32-officeimo-email-emailsemanticcomparisonoptions-int32)

[EmailStorePstSplitOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L8)

Creates split options.

Parameters

**query OfficeIMO.Email.Store.EmailStoreTableQuery? = null optional**

**maxEstimatedBytesPerPart long = 3500000000 optional**

**unknownItemEstimateBytes long = 1048576 optional**

**perItemOverheadBytes long = 16384 optional**

**maxParts int = 1000 optional**

**overwriteExisting bool = false optional**

**failOnLoss bool = true optional**

**continueOnItemError bool = false optional**

**includeSearchFolders bool = false optional**

**maxNestedMessageDepth int = 32 optional**

**verificationOptions OfficeIMO.Email.EmailSemanticComparisonOptions? = null optional**

**maxVerificationIssues int = 1000 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 EmailStoreTableQuery? Query { get; }` [#](#property-query)

[EmailStorePstSplitOptions.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L47)

Optional typed table query. Null selects all normal, associated, and source-index orphan items. Query sorting defines deterministic part order.

`public long MaxEstimatedBytesPerPart { get; }` [#](#property-maxestimatedbytesperpart)

[EmailStorePstSplitOptions.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L51)

Estimated partition target. Final PST index/allocation overhead is reported after write and can differ.

`public long UnknownItemEstimateBytes { get; }` [#](#property-unknownitemestimatebytes)

[EmailStorePstSplitOptions.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L53)

Estimate used when the source summary does not declare an item size.

`public long PerItemOverheadBytes { get; }` [#](#property-peritemoverheadbytes)

[EmailStorePstSplitOptions.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L55)

Additional planning allowance per item for PST rows, nodes, and indexes.

`public int MaxParts { get; }` [#](#property-maxparts)

[EmailStorePstSplitOptions.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L57)

Maximum planned output parts.

`public bool OverwriteExisting { get; }` [#](#property-overwriteexisting)

[EmailStorePstSplitOptions.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L59)

Whether an existing complete output set may be transactionally replaced.

`public bool FailOnLoss { get; }` [#](#property-failonloss)

[EmailStorePstSplitOptions.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L61)

Whether any preservation warning/error or verification mismatch aborts before commit.

`public bool ContinueOnItemError { get; }` [#](#property-continueonitemerror)

[EmailStorePstSplitOptions.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L63)

Whether an unreadable selected item is reported and skipped.

`public bool IncludeSearchFolders { get; }` [#](#property-includesearchfolders)

[EmailStorePstSplitOptions.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L65)

Whether search folders are retained as static folders.

`public int MaxNestedMessageDepth { get; }` [#](#property-maxnestedmessagedepth)

[EmailStorePstSplitOptions.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L67)

Maximum embedded-item depth read and written.

`public EmailSemanticComparisonOptions? VerificationOptions { get; }` [#](#property-verificationoptions)

[EmailStorePstSplitOptions.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L69)

Optional semantic verification policy.

`public int MaxVerificationIssues { get; }` [#](#property-maxverificationissues)

[EmailStorePstSplitOptions.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstSplitOptions.cs#L71)

Maximum mismatch/failure details retained per part.

<!-- PowerForge markdown artifact sha256:35EC92A3C01EA34CD4AB547B3481D3BF86F5DBF0F67021291BB608BADD3F4BD4 -->
