# EmailStorePstCompactionPlan

Read-only capacity and selection plan for verified PST rewrite compaction.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStorePstCompactionPlan.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L26)

**Modifiers**

sealed

Read-only capacity and selection plan for verified PST rewrite compaction.

## Inheritance

- object
- EmailStorePstCompactionPlan

## Usage

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

- Property [EmailStorePstCompactionReport.Plan](/api/email/officeimo-email-store-emailstorepstcompactionreport/#property-plan)
- Method [EmailStoreSession.PlanPstCompaction](/api/email/officeimo-email-store-emailstoresession/#method-planpstcompaction-string-officeimo-email-store-emailstorepstcompactionoptions-threading-cancellationtoken)

Filter members 

Show inherited

## 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 DestinationPath { get; }` [#](#property-destinationpath)

[EmailStorePstCompactionPlan.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L26)

Absolute distinct output path.

`public EmailStorePstCompactionOptions Options { get; }` [#](#property-options)

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

Immutable compaction policy.

`public long SourceBytes { get; }` [#](#property-sourcebytes)

[EmailStorePstCompactionPlan.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L30)

Validated source file length.

`public int ItemsScanned { get; }` [#](#property-itemsscanned)

[EmailStorePstCompactionPlan.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L32)

Source references examined.

`public int SelectedItems { get; }` [#](#property-selecteditems)

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

References selected for the verified rewrite.

`public int AssociatedItems { get; }` [#](#property-associateditems)

[EmailStorePstCompactionPlan.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L36)

Selected associated items.

`public int OrphanedItems { get; }` [#](#property-orphaneditems)

[EmailStorePstCompactionPlan.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L38)

Selected source-index orphans.

`public int ExcludedSearchFolderItems { get; }` [#](#property-excludedsearchfolderitems)

[EmailStorePstCompactionPlan.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L40)

Items intentionally excluded with search folders.

`public int UnknownSizeItems { get; }` [#](#property-unknownsizeitems)

[EmailStorePstCompactionPlan.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L42)

Selected items whose source size was not declared.

`public long EstimatedOutputBytes { get; }` [#](#property-estimatedoutputbytes)

[EmailStorePstCompactionPlan.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L44)

Planning estimate only; final PST index and allocation overhead is measured after write.

`public long EstimatedReductionBytes { get; }` [#](#property-estimatedreductionbytes)

[EmailStorePstCompactionPlan.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L46)

Source bytes minus estimated output bytes. Negative means estimated growth.

`public bool ItemLimitReached { get; }` [#](#property-itemlimitreached)

[EmailStorePstCompactionPlan.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L48)

Whether at least one source reference existed beyond the configured bound.

`public IReadOnlyList<EmailStoreDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

[EmailStorePstCompactionPlan.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L50)

Format, protection, bounds, destination, source, and selection diagnostics.

`public bool IsExecutable { get; }` [#](#property-isexecutable)

[EmailStorePstCompactionPlan.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionPlan.cs#L52)

Whether the verified rewrite may start.

<!-- PowerForge markdown artifact sha256:237CFABFB27D33537CB2B039E3610C305D07BA514A4BFA1AF4A5CAF60BDD6811 -->
