共用方式為


ActionType 列舉型別

Defines the type of the Action property.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
<GuidAttribute("88E621E0-2F95-4eda-BBE8-550F24C76D30")> _
Public Enumeration ActionType
'用途
Dim instance As ActionType
[GuidAttribute("88E621E0-2F95-4eda-BBE8-550F24C76D30")]
public enum ActionType
[GuidAttribute(L"88E621E0-2F95-4eda-BBE8-550F24C76D30")]
public enum class ActionType
[<GuidAttribute("88E621E0-2F95-4eda-BBE8-550F24C76D30")>]
type ActionType
public enum ActionType

成員

成員名稱 描述
Url Opens a URL string in an Internet browser.
Html Renders an HTML script in an Internet browser.
Statement Executes a statement that is understood by client application.
DrillThrough Executes a SQL Server 2005 Analysis Services (SSAS) MDX DrillThrough statement.
Dataset Executes a Multidimensional Expressions (MDX) statement.
Rowset Executes a Multidimensional Expressions (MDX) statement and results are to be presented as rowset.
CommandLine Executes a command using CMD.exe.
Proprietary Executes an action for which the client application has custom, nongeneric knowledge of that action. Proprietary actions are not returned to the client application unless the client application explicitly asks for these by setting the appropriate restriction on the APPLICATION_NAME.
Report Sends a URL statement to SQL Server 2005 Reporting Services (SSRS).

備註

新增: 2006 年 7 月 17 日

Action is an abstract class. Classes derived from Action are DrillThroughAction, ReportAction, and StandardAction. The action types associated with each class are listed in the following table.

Class

Action Type

DrillThroughAction

DrillThrough

ReportAction

Report

StandardAction

CommandLine

Dataset

Html

Proprietary

Rowset

Statement

Url

Setting [DrillThroughAction] to a type other than DrillThrough generates an [OperationException] when the cube is updated. There is no compilation error for this mistake.

Setting [ReportAction] to a type other than Report generates an [OperationException] when the cube is updated. There is no compilation error for this mistake.