UseExistingFile Property

Analysis Services Programming

Analysis Services Programming

UseExistingFile Property

This property determines whether an existing local cube file is overwritten when creating a local cube file of the same name.

Property Name

UseExistingFile

Property ID

DBPROP_MSMD_USEEXISTINGFILE

Remarks

This function of this property depends on the condition of the cube file being created. This table shows the interaction between the condition of the cube file and the value to which this property is set.

Condition TRUE FALSE
File and cube do not exist Returns E_FAIL when you open a new data source. A new file is created when the data source is opened.
File exists, cube does not The cube is created in the file. The cube is created in the file.
File and cube exist The existing cube is used. The existing cube is overwritten.

This property's value is used when a session is established, but the value cannot be changed during the session.