GenerateCategories Method
The GenerateCategories method populates a model with categories.
Syntax
Model .GenerateCategories
Applies To
Discussion
Use this method to generate categories from your data source after you have used the DoAutoDesign method or have manually added dimensions and levels to your model. While it generates categories, Transformer reads and analyzes your data source and builds the category hierarchy. Categories are automatically generated when you create a cube.
A COM exception is thrown in error situations. The message that is passed with the exception varies depending on the error situation.
Return Type
None
Examples
objModel.GenerateCategories()