Partilhar 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
<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)

Property Value

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Action Class
Action Members
Microsoft.AnalysisServices Namespace