共用方式為


Action.Condition Property

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

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
<ReadOnlyAttribute(True)> _
<XmlElementAttribute(IsNullable:=False)> _
<BrowsableAttribute(True)> _
Public Property Condition As String
[ReadOnlyAttribute(true)] 
[XmlElementAttribute(IsNullable=false)] 
[BrowsableAttribute(true)] 
public string Condition { get; set; }
[ReadOnlyAttribute(true)] 
[XmlElementAttribute(IsNullable=false)] 
[BrowsableAttribute(true)] 
public:
property String^ Condition {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Condition ()

/** @property */
public void set_Condition (String value)
public function get Condition () : String

public function set Condition (value : String)

屬性值

A string that contains the MDX expression.

備註

The Condition property contains an MDX expression that evaluates to a Boolean value. If the expression returns true, then the Action applies to the target specified in the Target property. Otherwise, the Action is not applicable.

執行緒安全性

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

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Action Class
Action Members
Microsoft.AnalysisServices Namespace