Export (0) Print
Expand All

Action Class

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

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

[XmlIncludeAttribute(typeof(DrillThroughAction))]
[XmlIncludeAttribute(typeof(StandardAction))]
[GuidAttribute("346F355E-6A1D-4326-A7EE-EC1D99BD62A1")]
[XmlIncludeAttribute(typeof(ReportAction))]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")]
public abstract class Action : NamedComponent, 
	ICloneable

The Action type exposes the following members.

  NameDescription
Protected methodAction()Initializes a new instance of Action using the default values.
Protected methodAction(String, String)Initializes a new instance of Action using a name and an identifier.
Top

  NameDescription
Public propertyAnnotationsGets a collection within which you can store custom data. (Inherited from ModelComponent.)
Public propertyApplicationGets or sets a String that contains the application associated with the Action.
Protected propertyCanRaiseEvents (Inherited from Component.)
Public propertyCaptionGets or sets the caption that is displayed for the Action.
Public propertyCaptionIsMdxGets or sets a value indicating whether the caption is a Multidimensional Expressions (MDX) expression.
Public propertyConditionGets or sets a Multidimensional Expressions (MDX) expression that determines whether the Parent property applies to the target.
Public propertyContainer (Inherited from Component.)
Public propertyDescriptionGets or sets the description of the component. (Inherited from NamedComponent.)
Protected propertyDesignMode (Inherited from Component.)
Protected propertyEvents (Inherited from Component.)
Protected propertyFriendlyNameReturns a user-friendly name. (Inherited from NamedComponent.)
Public propertyIDGets or sets the identifier of the component. (Inherited from NamedComponent.)
Public propertyInvocationGets or sets the means by which an action is invoked.
Protected propertyKeyForCollectionReturns the key used in collections. (Inherited from NamedComponent.)
Public propertyNameGets or sets the name of the component. (Inherited from NamedComponent.)
Public propertyOwningCollectionGets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.)
Public propertyParentGets the Cube object that is the parent of the Action object.
Public propertyParentDatabaseGets the ParentDatabase object that is the parent of the Action object's Cube object.
Public propertyParentServerGets the Server object that is the parent of the Action object.
Public propertySiteInfrastructure. Gets or sets the site of the component. (Inherited from NamedComponent.)
Public propertySiteIDInfrastructure. Gets or sets the identifier for the site associated with the component. (Inherited from NamedComponent.)
Public propertyTargetGets or sets the cube, dimension, attribute, hierarchy, or level that is associated with the action.
Public propertyTargetTypeGets or sets the cube, dimension, attribute, hierarchy, or level that is associated with the action.
Public propertyTranslationsGets the translation of the caption, which may be a Multidimensional Expressions (MDX) expression.
Public propertyTypeGets or sets a type representing a form of the action.
Top

  NameDescription
Protected methodAddToContainerInfrastructure. Adds a ModelComponent object to the specified container. (Inherited from ModelComponent.)
Protected methodAfterInsertInfrastructure. Displays a ModelComponent object after added to the specified index. (Inherited from ModelComponent.)
Protected methodAfterMoveInfrastructure. Displays a ModelComponent object after moving to the specified index. (Inherited from ModelComponent.)
Protected methodAfterRemoveInfrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (Inherited from ModelComponent.)
Protected methodBeforeRemoveInfrastructure. Removes the ModelComponent object before the cleanup. (Inherited from ModelComponent.)
Public methodCloneCreates a new full copy of an object.
Protected methodCopyTo(Action)Copies an Action object to the specified object.
Protected methodCopyTo(ModelComponent)Infrastructure. Copies a ModelComponent object to the specified object. (Inherited from ModelComponent.)
Protected methodCopyTo(NamedComponent)Infrastructure. Copies a NamedComponent object to the specified object. (Inherited from NamedComponent.)
Public methodCreateObjRefSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodDispose (Inherited from Component.)
Protected methodDispose(Boolean) (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Component.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Protected methodGetService (Inherited from Component.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected methodRemoveFromContainerInfrastructure. Removes a ModelComponent object from the specified container. (Inherited from ModelComponent.)
Protected methodResetInfrastructure. Resets the component to its initial state. (Inherited from NamedComponent.)
Public methodSubmit()Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.)
Public methodSubmit(Boolean)Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.)
Public methodToStringReturns a string containing the name of the component. (Inherited from NamedComponent.)
Public methodValidate(ValidationErrorCollection)Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from ModelComponent.)
Public methodValidate(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. (Inherited from ModelComponent.)
Public methodValidate(ValidationErrorCollection, Boolean, ServerEdition)Validates the element to which it is appended; returns any errors encountered into a collection. Also contains a parameter to enable return of detailed errors. (Overrides NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)
Top

  NameDescription
Public eventDisposed (Inherited from Component.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICloneableCloneCreates and returns a new object that is a copy of the current instance of the Action object.
Explicit interface implemetationPrivate methodIFormattableToStringFormats the value of the current instance using the specified format. (Inherited from NamedComponent.)
Explicit interface implemetationPrivate propertyIHostableComponent.HostGets or sets the IServiceProvider that is the host of the ModelComponent. (Inherited from ModelComponent.)
Explicit interface implemetationPrivate propertyIModelComponent.FriendlyPathGets a friendly path for the ModelComponent. (Inherited from ModelComponent.)
Explicit interface implemetationPrivate propertyIModelComponent.OwningCollectionGets or sets the collection that owns the current object. (Inherited from ModelComponent.)
Top

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft