I want to get the CubeAttribute ID according to the CubeAttribute Name using AMO method.
and I tried to use below scripts to get the CubeAttribute ID
string DimensionID = cb.Dimensions.FindByName(DimensionName).ToString();
CubeDimension dim = cb.Dimensions[DimensionID];
string Attribute_ID = dim.Attributes.FindByName(DimensionAttributeName).ToString();
But seems the CubeAttribute don't contain the function FindByName, So how can i get the ID value?
Any idea about this, thanks advance.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?