/// <summary> /// Gets the weight of a child element to its specified parent element. /// </summary> /// <param name="parentName">The name of the parent element.</param> /// <param name="childName">The name of the child element.</param> /// <returns>The weight.</returns> public double Weight(string parentName, string childName) { return(NativeOlapApi.DimensionElementWeight(_server.Store.ClientSlot, _server.ServerHandle, _name, parentName, childName, _server.LastErrorInternal)); }