Megosztás a következőn keresztül:


StandardAction Class

Definition

Represents any Action element other than a DrillThroughAction element or a ReportAction element. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("BE6D7E2F-AE93-4389-95C0-0B9689338C80")]
public sealed class StandardAction : Microsoft.AnalysisServices.Action
[<System.Runtime.InteropServices.Guid("BE6D7E2F-AE93-4389-95C0-0B9689338C80")>]
type StandardAction = class
    inherit Action
Public NotInheritable Class StandardAction
Inherits Action
Inheritance
Attributes

Constructors

StandardAction()

Initializes a new instance of the StandardAction class using default values.

StandardAction(String, String)

Initializes a new instance of StandardAction by using the specified name and an 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.

(Inherited from Action)
Caption

Gets or sets the caption that is displayed for the Action.

(Inherited from Action)
CaptionIsMdx

Gets or sets a value indicating whether the caption is a Multidimensional Expressions (MDX) expression.

(Inherited from Action)
Condition

Gets or sets a Multidimensional Expressions (MDX) expression that determines whether the Parent property applies to the target.

(Inherited from Action)
Description

Gets or sets the description of the component.

(Inherited from NamedComponent)
Expression

Gets or sets an MDX Expression associated with a StandardAction object.

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.

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

(Inherited from Action)
ParentDatabase

Gets the parent Database object of the Action object.

(Inherited from Action)
ParentServer

Gets the parent Server object of the Action object.

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

(Inherited from Action)
TargetType

Gets or sets the type of the object [cube, dimension, attribute, hierarchy, or level] that is associated with the action.

(Inherited from Action)
Translations

Gets the translation of the caption, which may be a Multidimensional Expressions (MDX) expression.

(Inherited from Action)
Type

Gets or sets a type representing a form of the action.

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

(Inherited from Action)
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)
CopyTo(StandardAction)

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

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)

Indicates whether the StandardAction object is valid.

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() (Inherited from Action)
IFormattable.ToString(String, IFormatProvider) (Inherited from NamedComponent)
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to