Filter 方法
Runs the Multidimensional Expressions (MDX) Filter function on a set.
命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (在 msmgdsrv.dll 中)
語法
'宣告
Public Shared Function Filter ( _
set As Set, _
expression As Expression _
) As Set
'用途
Dim set As Set
Dim expression As Expression
Dim returnValue As Set
returnValue = MDX.Filter(set, expression)
public static Set Filter(
Set set,
Expression expression
)
public:
static Set^ Filter(
Set^ set,
Expression^ expression
)
static member Filter :
set:Set *
expression:Expression -> Set
public static function Filter(
set : Set,
expression : Expression
) : Set
參數
- set
型別:Microsoft.AnalysisServices.AdomdServer. . :: . .Set
The set that contains the members to be evaluated.
- expression
型別:Microsoft.AnalysisServices.AdomdServer. . :: . .Expression
The Expression to be used to evaluate on the set.
傳回值
型別:Microsoft.AnalysisServices.AdomdServer. . :: . .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.