Share via


Action 类

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

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
<GuidAttribute("346F355E-6A1D-4326-A7EE-EC1D99BD62A1")> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")> _
Public MustInherit Class Action _
    Inherits NamedComponent _
    Implements ICloneable
用法
Dim instance As Action
[GuidAttribute("346F355E-6A1D-4326-A7EE-EC1D99BD62A1")]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")]
public abstract class Action : NamedComponent, 
    ICloneable
[GuidAttribute(L"346F355E-6A1D-4326-A7EE-EC1D99BD62A1")]
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")]
public ref class Action abstract : public NamedComponent, 
    ICloneable
[<AbstractClassAttribute>]
[<GuidAttribute("346F355E-6A1D-4326-A7EE-EC1D99BD62A1")>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")>]
type Action =  
    class
        inherit NamedComponent
        interface ICloneable
    end
public abstract class Action extends NamedComponent implements ICloneable

Action 类型公开以下成员。

构造函数

  名称 说明
受保护方法 Action() () () () Initializes a new instance of Action using the default values.
受保护方法 Action(String, String) Initializes a new instance of Action using a name and an identifier.

页首

属性

  名称 说明
公共属性 Annotations Gets a collection within which you can store custom data. (从 ModelComponent 继承。)
公共属性 Application Gets or sets a String that contains the application associated with the Action.
受保护属性 CanRaiseEvents (从 Component 继承。)
公共属性 Caption Gets or sets the caption that is displayed for the Action.
公共属性 CaptionIsMdx Gets or sets a value indicating whether the caption is a Multidimensional Expressions (MDX) expression.
公共属性 Condition Gets or sets a Multidimensional Expressions (MDX) expression that determines whether the Parent property applies to the target.
公共属性 Container (从 Component 继承。)
公共属性 Description (从 NamedComponent 继承。)
受保护属性 DesignMode (从 Component 继承。)
受保护属性 Events (从 Component 继承。)
受保护属性 FriendlyName (从 NamedComponent 继承。)
公共属性 ID (从 NamedComponent 继承。)
公共属性 Invocation Gets or sets the means by which an action is invoked.
受保护属性 KeyForCollection (从 NamedComponent 继承。)
公共属性 Name (从 NamedComponent 继承。)
公共属性 OwningCollection Gets or sets the collection that contains the ModelComponent. (从 ModelComponent 继承。)
公共属性 Parent Gets the Cube object that is the parent of the Action object.
公共属性 ParentDatabase Gets the ParentDatabase object that is the parent of the Action object's Cube object.
公共属性 ParentServer Gets the Server object that is the parent of the Action object.
公共属性 Site (从 NamedComponent 继承。)
公共属性 SiteID (从 NamedComponent 继承。)
公共属性 Target Gets or sets the cube, dimension, attribute, hierarchy, or level that is associated with the action.
公共属性 TargetType Gets or sets the cube, dimension, attribute, hierarchy, or level that is associated with the action.
公共属性 Translations Gets the translation of the caption, which may be a Multidimensional Expressions (MDX) expression.
公共属性 Type Gets or sets a type representing a form of the action.

页首

方法

  名称 说明
受保护方法 AddToContainer 基础结构。 (从 ModelComponent 继承。)
受保护方法 AfterInsert 基础结构。 (从 ModelComponent 继承。)
受保护方法 AfterMove 基础结构。 (从 ModelComponent 继承。)
受保护方法 AfterRemove 基础结构。 (从 ModelComponent 继承。)
受保护方法 BeforeRemove 基础结构。 (从 ModelComponent 继承。)
公共方法 Clone Creates a new full copy of an object.
受保护方法 CopyTo(Action) Copies an Action object to the specified object.
受保护方法 CopyTo(ModelComponent) 基础结构。 (从 ModelComponent 继承。)
受保护方法 CopyTo(NamedComponent) (从 NamedComponent 继承。)
公共方法 CreateObjRef (从 MarshalByRefObject 继承。)
公共方法 Dispose() () () () (从 Component 继承。)
受保护方法 Dispose(Boolean) (从 Component 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Component 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetLifetimeService (从 MarshalByRefObject 继承。)
受保护方法 GetService (从 Component 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 InitializeLifetimeService (从 MarshalByRefObject 继承。)
受保护方法 MemberwiseClone() () () () (从 Object 继承。)
受保护方法 MemberwiseClone(Boolean) (从 MarshalByRefObject 继承。)
受保护方法 RemoveFromContainer 基础结构。 (从 ModelComponent 继承。)
受保护方法 Reset (从 NamedComponent 继承。)
公共方法 Submit() () () () 基础结构。 (从 ModelComponent 继承。)
公共方法 Submit(Boolean) 基础结构。 (从 ModelComponent 继承。)
公共方法 ToString (从 NamedComponent 继承。)
公共方法 Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (从 ModelComponent 继承。)
公共方法 Validate(ValidationErrorCollection, Boolean) Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors. (从 ModelComponent 继承。)
公共方法 Validate(ValidationErrorCollection, Boolean, ServerEdition) (覆盖 NamedComponent. . :: . .Validate(ValidationErrorCollection, Boolean, ServerEdition)。)

页首

事件

  名称 说明
公共事件 Disposed (从 Component 继承。)

页首

注释

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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。