Set the attributes properies using C# and AnalysisServices


  • Hello,

    I need to change the NameColumn of an attribute in a dimension of my cube.

    here is my code but nothing happened when I execute it:

    DimensionAttribute attr = this.cubeDim.Dimension.Attributes.GetByName(AttributeName);
    attr.NameColumn = new DataItem([TABLE NAME], [COLUMN NAME]);

    Does somebody got an idea?

    Thanks a lot

    miércoles, 20 de junio de 2012 13:12


Todas las respuestas