共用方式為


Action Class

Represents an Action that can be returned from the Server and run on the client.

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
<XmlIncludeAttribute(GetType(ReportAction))> _
<XmlIncludeAttribute(GetType(DrillThroughAction))> _
<GuidAttribute("346F355E-6A1D-4326-A7EE-EC1D99BD62A1")> _
<XmlIncludeAttribute(GetType(StandardAction))> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey:="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")> _
Public MustInherit Class Action
    Inherits NamedComponent
    Implements ICloneable
[XmlIncludeAttribute(typeof(ReportAction))] 
[XmlIncludeAttribute(typeof(DrillThroughAction))] 
[GuidAttribute("346F355E-6A1D-4326-A7EE-EC1D99BD62A1")] 
[XmlIncludeAttribute(typeof(StandardAction))] 
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")] 
public abstract class Action : NamedComponent, ICloneable
[XmlIncludeAttribute(typeof(ReportAction))] 
[XmlIncludeAttribute(typeof(DrillThroughAction))] 
[GuidAttribute(L"346F355E-6A1D-4326-A7EE-EC1D99BD62A1")] 
[XmlIncludeAttribute(typeof(StandardAction))] 
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey=L"0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")] 
public ref class Action abstract : public NamedComponent, ICloneable
/** @attribute XmlIncludeAttribute(Microsoft.AnalysisServices.ReportAction) */ 
/** @attribute XmlIncludeAttribute(Microsoft.AnalysisServices.DrillThroughAction) */ 
/** @attribute GuidAttribute("346F355E-6A1D-4326-A7EE-EC1D99BD62A1") */ 
/** @attribute XmlIncludeAttribute(Microsoft.AnalysisServices.StandardAction) */ 
/** @attribute StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8") */ 
public abstract class Action extends NamedComponent implements ICloneable
XmlIncludeAttribute(Microsoft.AnalysisServices.ReportAction) 
XmlIncludeAttribute(Microsoft.AnalysisServices.DrillThroughAction) 
GuidAttribute("346F355E-6A1D-4326-A7EE-EC1D99BD62A1") 
XmlIncludeAttribute(Microsoft.AnalysisServices.StandardAction) 
public abstract class Action extends NamedComponent implements ICloneable

備註

This object enables you to manipulate the various aspects associated with actions, for example by setting conditions for applicability of actions based on Multidimensional Expressions (MDX) expression results. Also, you can enumerate through an action type collection to find out what type of action is attached to a cell.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       Microsoft.AnalysisServices.ModelComponent
         Microsoft.AnalysisServices.NamedComponent
          Microsoft.AnalysisServices.Action
             Microsoft.AnalysisServices.DrillThroughAction
             Microsoft.AnalysisServices.ReportAction
             Microsoft.AnalysisServices.StandardAction

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Action Members
Microsoft.AnalysisServices Namespace