Partilhar via


Método MDX.Filter

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

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (em msmgdsrv.dll)

Sintaxe

'Declaração
Public Shared Function Filter ( _
    set As Set, _
    expression As Expression _
) As Set
'Uso
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

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices.AdomdServer.Set
A set that contains the tuples that match the conditions that are defined by expression.

Comentários

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

Consulte também

Referência

MDX Classe

Namespace Microsoft.AnalysisServices.AdomdServer