Compartilhar via


MDX.Generate Method

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

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

Syntax

'Declaration
Public Shared Function Generate ( _
    set As Set, _
    ParamArray parameters As Object() _
) As MDXValue
public static MDXValue Generate (
    Set set,
    params Object[] parameters
)
public:
static MDXValue^ Generate (
    Set^ set, 
    ... array<Object^>^ parameters
)
public static MDXValue Generate (
    Set set, 
    Object[] parameters
)
public static function Generate (
    set : Set, 
    ... parameters : Object[]
) : MDXValue

Parameters

  • set
    The set to be evaluated.
  • parameters

Return Value

A set or an optional delimited string.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MDX Class
MDX Members
Microsoft.AnalysisServices.AdomdServer Namespace