DataCubeChangeElementCategory Method

Changes the element category if possible.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
public IAnalysisElement ChangeElementCategory(
	IAnalysisElement element,
	AnalysisElementCategory category
)

Parameters

element
Type: Dundas.BI.Data.MetadataIAnalysisElement
The selected element.
category
Type: Dundas.BI.Data.MetadataAnalysisElementCategory
The desired category.

Return Value

Type: IAnalysisElement
The new analysis element.
Exceptions
ExceptionCondition
ArgumentNullExceptionelement is .
ArgumentExceptioncategory is invalid or element does not belong to the current instance.
IncompatibleCategoryExceptioncategory is incompatible for the specified element.
See Also