Action 類別

定義

物件的基底類別,代表可以從伺服器傳回並在用戶端執行的動作。

[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
繼承
衍生
屬性
實作

建構函式

Action()

使用預設值,初始化動作的新執行個體。

Action(String, String)

使用指定的名稱和識別碼,初始化動作的新執行個體。

欄位

MaxIDLength

指定識別碼的最大長度。

(繼承來源 NamedComponent)
MaxNameLength

指定名稱的最大長度。

(繼承來源 NamedComponent)

屬性

Annotations

取得可在其中儲存自訂資料的集合。

(繼承來源 ModelComponent)
Application

取得或設定字串,其中包含與動作建立關聯的應用程式。

Caption

取得或設定動作顯示的標題。

CaptionIsMdx

取得或設定值,這個值表示標題是否為多維度運算式 (MDX) 運算式。

Condition

取得或設定多維度運算式 (MDX) 運算式,此運算式會決定是否將父代屬性套用至目標。

Description

取得或設定元件的描述。

(繼承來源 NamedComponent)
FriendlyName

取得元件的使用者易記名稱。

(繼承來源 NamedComponent)
ID

取得或設定元件的識別碼。

(繼承來源 NamedComponent)
Invocation

取得或設定叫用動作所依據的方法。

KeyForCollection

取得集合中使用的索引鍵。

(繼承來源 NamedComponent)
Name

取得或設定元件的名稱。

(繼承來源 NamedComponent)
OwningCollection

取得或設定包含 ModelComponent 的集合。

(繼承來源 ModelComponent)
Parent

取得 Action 物件的父 Cube 物件。

ParentDatabase

取得 Action 物件的父 Database 物件。

ParentServer

取得 Action 物件的父 Server 物件。

Site

取得或設定與元件建立關聯的網站。

(繼承來源 NamedComponent)
SiteID

取得或設定與元件相關聯之網站的識別碼。

(繼承來源 NamedComponent)
Target

取得或設定與動作相關聯的 Cube、維度、屬性、階層或層級。

TargetType

取得或設定與動作建立關聯的物件類型 (Cube、維度、屬性、階層或層級)。

Translations

取得標題的翻譯,這可能是多維度運算式 (MDX) 運算式。

Type

取得或設定代表動作形式的類型。

方法

AddToContainer(IContainer)

將 ModelComponent 物件新增至指定的容器。

(繼承來源 ModelComponent)
AfterInsert(Int32)

新增到指定的索引位置之後顯示 ModelComponent 物件。

(繼承來源 ModelComponent)
AfterMove(Int32, Int32)

移動到指定的索引之後顯示 ModelComponent 物件。

(繼承來源 ModelComponent)
AfterRemove(ModelComponentCollection)

在移除 ModelComponent 物件後顯示 ModelComponentCollection。

(繼承來源 ModelComponent)
BeforeRemove(Boolean)

在清除之前移除 ModelComponent 物件。

(繼承來源 ModelComponent)
Clone()

傳回物件的複製。

CopyTo(Action)

將此物件的內容複製到另一個物件 (目的地)。

CopyTo(ModelComponent)

將 ModelComponent 物件複製到指定的物件。

(繼承來源 ModelComponent)
CopyTo(NamedComponent)

將 NamedComponent 物件複製到指定的物件。

(繼承來源 NamedComponent)
RemoveFromContainer(IContainer)

將 ModelComponent 物件從指定的容器中移除。

(繼承來源 ModelComponent)
Reset()

將元件重設為其初始狀態。

(繼承來源 NamedComponent)
Submit()

提交 ModelComponent 物件。

(繼承來源 ModelComponent)
Submit(Boolean)

提交 ModelComponent 物件。

(繼承來源 ModelComponent)
ToString()

傳回字串。字串表示目前的具名元件。

(繼承來源 NamedComponent)
Validate(ValidationErrorCollection)

驗證它附加至的元素;傳回集合中遇到的任何錯誤。

(繼承來源 ModelComponent)
Validate(ValidationErrorCollection, Boolean)

驗證它附加至的元素;傳回集合中遇到的任何錯誤。 也包含可傳回詳細錯誤的參數。

(繼承來源 ModelComponent)
Validate(ValidationErrorCollection, Boolean, ServerEdition)

驗證它附加至的元素;在集合中傳回發生的任何錯誤。 也包含可傳回詳細錯誤的參數。

明確介面實作

ICloneable.Clone()

物件的基底類別,代表可以從伺服器傳回並在用戶端執行的動作。

IFormattable.ToString(String, IFormatProvider)

物件的基底類別,代表可以從伺服器傳回並在用戶端執行的動作。

(繼承來源 NamedComponent)
IHostableComponent.Host

物件的基底類別,代表可以從伺服器傳回並在用戶端執行的動作。

(繼承來源 ModelComponent)
IModelComponent.FriendlyPath

物件的基底類別,代表可以從伺服器傳回並在用戶端執行的動作。

(繼承來源 ModelComponent)
IModelComponent.OwningCollection

物件的基底類別,代表可以從伺服器傳回並在用戶端執行的動作。

(繼承來源 ModelComponent)

適用於