# ExcelPivotSourceUpdateOptions

Controls safety checks applied when an existing pivot table source is changed.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[ExcelPivotSourceUpdateOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/ExcelPivotSourceUpdateOptions.cs#L10)

**Modifiers**

sealed

Controls safety checks applied when an existing pivot table source is changed.

## Inheritance

- object
- ExcelPivotSourceUpdateOptions

## 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

- Method [ExcelSheet.UpdatePivotTableSource](/api/excel/officeimo-excel-excelsheet/#method-updatepivottablesource-string-officeimo-excel-excelsheet-string-officeimo-excel-excelpivotsourceupdateoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public ExcelPivotSourceUpdateOptions()` [#](#constructor-ctor)

[ExcelPivotSourceUpdateOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/ExcelPivotSourceUpdateOptions.cs#L10)

## 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 bool RequireMatchingHeaders { get; set; }` [#](#property-requirematchingheaders)

[ExcelPivotSourceUpdateOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/ExcelPivotSourceUpdateOptions.cs#L10)

When true, the new source header names must match the existing pivot cache database fields. Field count must always remain stable because this operation does not rebuild pivot field definitions.

`public bool AllowSharedCacheUpdate { get; set; }` [#](#property-allowsharedcacheupdate)

[ExcelPivotSourceUpdateOptions.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/ExcelPivotSourceUpdateOptions.cs#L15)

When true, a cache shared by multiple pivot tables may be updated. All affected pivots are returned in the result.

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