共用方式為


MDX.Filter Method

Runs the Multidimensional Expressions (MDX) Filter function on a set.

命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (in msmgdsrv.dll)

語法

'宣告
Public Shared Function Filter ( _
    set As Set, _
    expression As Expression _
) As Set
public static Set Filter (
    Set set,
    Expression expression
)
public:
static Set^ Filter (
    Set^ set, 
    Expression^ expression
)
public static Set Filter (
    Set set, 
    Expression expression
)
public static function Filter (
    set : Set, 
    expression : Expression
) : Set

參數

  • set
    The set that contains the members to be evaluated.
  • expression
    The Expression to be used to evaluate on the set.

傳回值

A set that contains the tuples that match the conditions that are defined by expression.

備註

If no tuples match the conditions, an empty set is returned.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

MDX Class
MDX Members
Microsoft.AnalysisServices.AdomdServer Namespace