Condividi tramite


Metodo Generate

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

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Public Shared Function Generate ( _
    set As Set, _
    ParamArray parameters As Object() _
) As MDXValue
'Utilizzo
Dim set As Set
Dim parameters As Object()
Dim returnValue As MDXValue

returnValue = MDX.Generate(set, _
    parameters)
public static MDXValue Generate(
    Set set,
    params Object[] parameters
)
public:
static MDXValue^ Generate(
    Set^ set, 
    ... array<Object^>^ parameters
)
static member Generate : 
        set:Set * 
        parameters:Object[] -> MDXValue 
public static function Generate(
    set : Set, 
    ... parameters : Object[]
) : MDXValue

Parametri

Valore restituito

Tipo: Microsoft.AnalysisServices.AdomdServer. . :: . .MDXValue
A set or an optional delimited string.

Osservazioni

params can be set to one of the values shown in the following table.

Parameter

Value

params[0]

params[1]

params[0] contains the set to apply.

(Optional) params[1] contains ALL.

params[0]

params[1]

params[0] contains a string expression.

(Optional) params[1] contains the delimiter string.