# EmailStorePstCompactionReport

Verified PST rewrite-compaction outcome.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStorePstCompactionReport.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionReport.cs#L24)

**Base**

`OfficeConversionReport`

**Modifiers**

sealed

Verified PST rewrite-compaction outcome.

## Inheritance

- OfficeConversionReport
- EmailStorePstCompactionReport

## Usage

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

- Method [EmailStoreSession.CompactToPst](/api/email/officeimo-email-store-emailstoresession/#method-compacttopst-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 void ThrowIfLoss()` [#](#method-throwifloss)

Inherited from OfficeConversionReport

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

Inherited from object

Returns

`string?`

## Properties

`public EmailStorePstCompactionPlan Plan { get; }` [#](#property-plan)

[EmailStorePstCompactionReport.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionReport.cs#L24)

Pre-write selection and capacity plan.

`public EmailStorePstConversionReport Conversion { get; }` [#](#property-conversion)

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

Existing verified conversion/rewrite report.

`public long CompactedBytes { get; }` [#](#property-compactedbytes)

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

Committed compacted PST length.

`public long ReductionBytes { get; }` [#](#property-reductionbytes)

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

Actual source bytes minus compacted bytes. Negative means the canonical rewrite grew.

`public double ReductionRatio { get; }` [#](#property-reductionratio)

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

Actual fractional size reduction; negative means growth.

`public bool IsVerified { get; }` [#](#property-isverified)

[EmailStorePstCompactionReport.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionReport.cs#L35)

Whether every selected item was written, reopened, and semantically matched.

`public bool HasDataLoss { get; }` [#](#property-hasdataloss)

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

Whether the rewrite reported preservation loss.

`public override bool HasLoss { get; }` [#](#property-hasloss)

[EmailStorePstCompactionReport.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Maintenance/EmailStorePstCompactionReport.cs#L43)

True when compaction approximated, omitted, or failed to preserve source content.

## Inherited Properties

`public string Source { get; }` [#](#property-source)

Inherited from OfficeConversionReport

`public string Target { get; }` [#](#property-target)

Inherited from OfficeConversionReport

`public string? OutputPath { get; }` [#](#property-outputpath)

Inherited from OfficeConversionReport

`public long ItemsWritten { get; }` [#](#property-itemswritten)

Inherited from OfficeConversionReport

`public TimeSpan Elapsed { get; }` [#](#property-elapsed)

Inherited from OfficeConversionReport

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

Inherited from OfficeConversionReport

<!-- PowerForge markdown artifact sha256:FE6FFB689C20CBE01B91CCD4D611EA1D9D6450B66E119C2535FCAEF5303328B2 -->
