| Visual Basic (Declaration) | |
|---|---|
Public Property DeniedUiActions As UiActionCollection | |
| C# | |
|---|---|
public UiActionCollection DeniedUiActions {get; set;} | |
All other available actions will be allowed.
The following examples demonstrate how to deny some actions:
or
or
| C# | Copy Code |
|---|---|
<Analysis:PivotView> <Analysis:PivotView.DeniedUiActions> <Permissions:UiAction>AddField</Permissions:UiAction> <Permissions:UiAction>RemoveField</Permissions:UiAction> </Analysis:PivotView.DeniedUiActions> </Analysis:PivotView> | |
| C# | Copy Code |
|---|---|
PivotView.DeniedUiActions = new UiActionCollection
{ UiAction.AddSchemaField, UiAction.DeleteSchemaField }; | |
| C# | Copy Code |
|---|---|
PivotView.DeniedUiActions.Add(UiAction.AddSchemaField); | |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2