共用方式為


XmlMappedRange.AllocateChanges Method

Performs a writeback operation for all edited cells in an XML mapped range based on an OLAP data source.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Sub AllocateChanges
void AllocateChanges()

Exceptions

Exception Condition
MissingMemberException

This property is used in an Excel 2007 project.

Remarks

The AllocateChanges method will execute an UPDATE CUBE statement for all changes made in the XML mapped range since the last apply changes operation was committed. This method generates a run-time error if it is executed on a range based on a non-OLAP data source.

Note

This method appears in IntelliSense in Excel 2007 projects that target the .NET Framework 4. However, this method cannot be used in Excel 2007 projects.

.NET Framework Security

See Also

Reference

XmlMappedRange Interface

Microsoft.Office.Tools.Excel Namespace