SetExcludeDimension Method

For a given DrillThroughTarget and Dimension, the SetExcludeDimension method sets the drill-through restriction to True if the isRestricted parameter is True. To remove the restrictions, set the isRestricted parameter to False.

Syntax

DrillThroughTarget .SetExcludeDimension

Applies To

DrillThroughTarget Object

Discussion

Use this property to exclude the Dimension from the drill-through target.

A COM exception is thrown in error situations. The message that is passed with the exception varies depending on the error situation.

Parameter

Description

Dimension

Required. Specifies the Dimension object that is excluded from the drill-through action.

Type: Dimension

isRestricted

Required. Specifies whether the Dimension is excluded.

Type: Boolean

Return Type

None