SetExcludeLevel Method

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

Syntax

DrillThroughTarget .SetExcludeLevel

Applies To

DrillThroughTarget Object

Discussion

Use this property to exclude the level from the DrillThroughTarget.

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

Parameter

Description

Level

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

Type: Object

isRestricted

Required: Specifies whether the Level is excluded.

Type: Boolean

Return Type

Boolean