Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailStorePstCompactionOptions

OfficeIMO.Email.Store

Namespace
OfficeIMO.Email.Store
Assembly
OfficeIMO.Email
Source revision
cb53537f3ec4 with working tree changes
Modifiers
sealed

Selection, estimation, fidelity, and verification policy for a safe PST rewrite compaction.

Inheritance

  • object
  • EmailStorePstCompactionOptions

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

Accepted by parameters 2

Constructors

public EmailStorePstCompactionOptions(bool overwriteExisting = false, bool failOnLoss = true, bool continueOnItemError = false, bool includeAssociatedItems = true, bool includeOrphanedItems = true, bool includeSearchFolders = false, int maxItems = 1000000, int maxNestedMessageDepth = 32, long unknownItemEstimateBytes = 1048576, long perItemOverheadBytes = 16384, long fixedPstOverheadBytes = 1048576, string? displayName = null, EmailSemanticComparisonOptions? verificationOptions = null, int maxVerificationIssues = 1000) #

Creates compaction options.

Parameters

overwriteExisting bool = false optional
failOnLoss bool = true optional
continueOnItemError bool = false optional
includeAssociatedItems bool = true optional
includeOrphanedItems bool = true optional
includeSearchFolders bool = false optional
maxItems int = 1000000 optional
maxNestedMessageDepth int = 32 optional
unknownItemEstimateBytes long = 1048576 optional
perItemOverheadBytes long = 16384 optional
fixedPstOverheadBytes long = 1048576 optional
displayName string? = null optional
verificationOptions OfficeIMO.Email.EmailSemanticComparisonOptions? = null optional
maxVerificationIssues int = 1000 optional

Properties

public bool OverwriteExisting { get; } #

Whether an existing distinct destination may be atomically replaced after verification.

public bool FailOnLoss { get; } #

Whether any fidelity warning/error blocks destination commit.

public bool ContinueOnItemError { get; } #

Whether an unreadable item is reported and skipped.

public bool IncludeAssociatedItems { get; } #

Whether folder-associated information items are retained.

public bool IncludeOrphanedItems { get; } #

Whether readable source-index orphans are recovered into the compacted output.

public bool IncludeSearchFolders { get; } #

Whether search folders are retained as static folders.

public int MaxItems { get; } #

Maximum source references scanned and written.

public int MaxNestedMessageDepth { get; } #

Maximum embedded-item depth read and written.

public long UnknownItemEstimateBytes { get; } #

Planning estimate for items without a declared source size.

public long PerItemOverheadBytes { get; } #

Planning estimate for per-item PST rows, nodes, and indexes.

public long FixedPstOverheadBytes { get; } #

Planning estimate for fixed PST structures and allocation maps.

public string? DisplayName { get; } #

Optional destination display name.

public EmailSemanticComparisonOptions? VerificationOptions { get; } #

Optional semantic verification policy.

public int MaxVerificationIssues { get; } #

Maximum mismatch/failure details retained.