Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailStoreValidationOptions

OfficeIMO.Email.Store

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

Scope and safety bounds for email-store validation.

Inheritance

  • object
  • EmailStoreValidationOptions

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.

Accepted by parameters 1

Constructors

public EmailStoreValidationOptions(EmailStoreValidationMode mode = Summaries, string? folderId = null, bool includeDescendants = false, bool includeAssociatedItems = false, bool includeOrphanedItems = true, int maxItems = 100000, bool verifyStructuralIntegrity = false, int maxStructuralPages = 100000, int maxStructuralBlocks = 100000, long maxStructuralBytes = 1073741824) #

Creates validation options.

Parameters

mode OfficeIMO.Email.Store.EmailStoreValidationMode = Summaries optional
folderId string? = null optional
includeDescendants bool = false optional
includeAssociatedItems bool = false optional
includeOrphanedItems bool = true optional
maxItems int = 100000 optional
verifyStructuralIntegrity bool = false optional
maxStructuralPages int = 100000 optional
maxStructuralBlocks int = 100000 optional
maxStructuralBytes long = 1073741824 optional

Properties

public EmailStoreValidationMode Mode { get; } #

Validation depth.

public string? FolderId { get; } #

Optional folder identifier. Null validates every folder.

public bool IncludeDescendants { get; } #

Whether descendants of EmailStoreValidationOptions.FolderId are included.

public bool IncludeAssociatedItems { get; } #

Whether folder-associated information items are validated.

public bool IncludeOrphanedItems { get; } #

Whether recoverable items absent from contents tables are validated.

public int MaxItems { get; } #

Maximum item references examined.

public bool VerifyStructuralIntegrity { get; } #

Whether PST/OST page and block trailers, CRCs, signatures, identifiers, lengths, and bounds are verified. This is opt-in because it reads each selected structure rather than only the data needed for browsing.

public int MaxStructuralPages { get; } #

Maximum BBT and NBT pages examined by structural validation.

public int MaxStructuralBlocks { get; } #

Maximum BBT-referenced blocks examined by structural validation.

public long MaxStructuralBytes { get; } #

Maximum page, payload, and trailer bytes read by structural validation.