Düzenle

Aracılığıyla paylaş


PivotTable.Allocation Property

Definition

Gets or sets whether to run an UPDATE CUBE statement for each cell is edited, or only when the user chooses to calculate changes when performing what-if analysis on a PivotTable based on an OLAP data source.

public:
 property Microsoft::Office::Interop::Excel::XlAllocation Allocation { Microsoft::Office::Interop::Excel::XlAllocation get(); void set(Microsoft::Office::Interop::Excel::XlAllocation value); };
public Microsoft.Office.Interop.Excel.XlAllocation Allocation { get; set; }
Public Property Allocation As XlAllocation

Property Value

An XlAllocation object.

Remarks

Read/write.

The Allocation property corresponds to the Calculate with changes setting in the What-If Analysis Settings dialog box. The default setting is xlManualAllocation, which corresponds to the Manually (when selecting calculate PivotTable with changes) setting.

Applies to