示例#1
0
 /// <summary>
 /// This function renames a dimension element.
 /// </summary>
 /// <param name="element">The element to rename.</param>
 /// <param name="newName">The new name for the element.</param>
 /// <returns>True, if the element was renamed. False, if an error occurred.</returns>
 public bool RenameDimensionElement(string element, string newName)
 {
     return(NativeOlapApi.RenameDimensionElement(_server.Store.ClientSlot, _server.ServerHandle, "1", _name, element, newName));
 }