Partager via


Méthode Generate

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

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (en msmgdsrv.dll)

Syntaxe

'Déclaration
Public Shared Function Generate ( _
    set As Set, _
    ParamArray parameters As Object() _
) As MDXValue
'Utilisation
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

Paramètres

Valeur de retour

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

Notes

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.