Freigeben über


Action Class

Definition

The base class for objects that represents an action that can be returned from the Server and run on the client.

[System.Runtime.InteropServices.Guid("346F355E-6A1D-4326-A7EE-EC1D99BD62A1")]
public abstract class Action : Microsoft.AnalysisServices.NamedComponent, ICloneable
[<System.Runtime.InteropServices.Guid("346F355E-6A1D-4326-A7EE-EC1D99BD62A1")>]
type Action = class
    inherit NamedComponent
    interface ICloneable
Public MustInherit Class Action
Inherits NamedComponent
Implements ICloneable
Inheritance
Derived
Attributes
Implements

Constructors

Action()

Initializes a new instance of Action using the default values.

Action(String, String)

Initializes a new instance of Action using the specified name and identifier.

Fields

MaxIDLength

Specifies the maximum length of the identifier.

(Inherited from NamedComponent)
MaxNameLength

Specifies the maximum length of the name.

(Inherited from NamedComponent)

Properties

Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Application

Gets or sets a String that contains the application associated with the Action.

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.

Description

Gets or sets the description of the component.

(Inherited from NamedComponent)
FriendlyName

Gets a user-friendly name for the component.

(Inherited from NamedComponent)
ID

Gets or sets the identifier of the component.

(Inherited from NamedComponent)
Invocation

Gets or sets the means by which an action is invoked.

KeyForCollection

Gets the key used in collections.

(Inherited from NamedComponent)
Name

Gets or sets the name of the component.

(Inherited from NamedComponent)
OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent

Gets the parent Cube object of the Action object.

ParentDatabase

Gets the parent Database object of the Action object.

ParentServer

Gets the parent Server object of the Action object.

Site

Gets or sets the site associated with the component.

(Inherited from NamedComponent)
SiteID

Gets or sets the identifier for the site associated with the component.

(Inherited from NamedComponent)
Target

Gets or sets the cube, dimension, attribute, hierarchy, or level that is associated with the action.

TargetType

Gets or sets the type of the object [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.

Methods

AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
Clone()

Returns a clone of the object.

CopyTo(Action)

Copies the content of this object to another object (the destination).

CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
CopyTo(NamedComponent)

Copies a NamedComponent object to the specified object.

(Inherited from NamedComponent)
RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset()

Resets the component to its initial state.

(Inherited from NamedComponent)
Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString()

Returns a string representing the named-component.

(Inherited from NamedComponent)
Validate(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.

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.

(Inherited from ModelComponent)
Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

(Inherited from ModelComponent)

Explicit Interface Implementations

ICloneable.Clone()
IFormattable.ToString(String, IFormatProvider) (Inherited from NamedComponent)
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to