Share via


Action.Condition Property

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

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

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property Condition As String 
    Get 
    Set
'Usage
Dim instance As Action 
Dim value As String 

value = instance.Condition

instance.Condition = value
[BrowsableAttribute(true)]
public string Condition { get; set; }
[BrowsableAttribute(true)]
public:
property String^ Condition {
    String^ get ();
    void set (String^ value);
}
[<BrowsableAttribute(true)>]
member Condition : string with get, set
function get Condition () : String 
function set Condition (value : String)

Property Value

Type: System.String
A string that contains the MDX expression.

Remarks

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.

See Also

Reference

Action Class

Microsoft.AnalysisServices Namespace