示例#1
0
 /// <summary>
 /// Imports the entire cube data from a text file.
 /// </summary>
 /// <param name="importFile">The name of the text file to export.</param>
 /// <param name="errorFile">The name of file to write the list of error that occured during the export.</param>
 /// <param name="fields">An array of integers that describe the order of columns in the text file to iomport.</param>
 /// <returns>True, if the values have been imported.</returns>
 public bool Import(string importFile, string errorFile, System.Collections.ArrayList fields)
 {
     return(NativeOlapApi.CubeImport(Server.Store.ClientSlot, Server.ServerHandle, _name, importFile, errorFile, fields, Server.LastErrorInternal));
 }