コード例 #1
0
 /// <summary>
 /// Sends an OLAP XML splash request to an OLAP server to write a value to a calculated cell.
 /// </summary>
 /// <param name="value">The value to splash.</param>
 /// <param name="mode">The splash mode.</param>
 /// <param name="rounding">True, if values should be rounded, false if not.</param>
 /// <param name="decimals">The number of decimals to round, if rounding is true.</param>
 /// <param name="notDeleteOnZero">If true, sending the value 0 will not delete the leaf cells, but it will write the value 0. Otherwise sending the value 0 will delete the leaf cells.</param>
 /// <param name="firstElement">The first element name.</param>
 /// <param name="secondElement">The second element name.</param>
 /// <param name="elements">A variable list of additional dimension elements that reference the cell.</param>
 /// <returns>True, if successful; false, otherwise.</returns>
 public bool SplashCell(double value, string mode, bool rounding, int decimals, bool notDeleteOnZero, string firstElement, string secondElement, string[] elements)
 {
     return(NativeOlapApi.SplashValue(_server.Store.ClientSlot, _serverHandle, "1", this, value, mode, rounding, decimals, notDeleteOnZero, firstElement, secondElement, elements));
 }