Compartilhar via


MDX.CrossJoin Method

Runs the Multidimensional Expressions (MDX) Crossjoin function on two sets.

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

Syntax

'Declaration
Public Shared Function CrossJoin ( _
    set1 As Set, _
    set2 As Set _
) As Set
public static Set CrossJoin (
    Set set1,
    Set set2
)
public:
static Set^ CrossJoin (
    Set^ set1, 
    Set^ set2
)
public static Set CrossJoin (
    Set set1, 
    Set set2
)
public static function CrossJoin (
    set1 : Set, 
    set2 : Set
) : Set

Parameters

  • set1
    The first set to be crossjoined.
  • set2
    The second set to be crossjoined.

Return Value

A set that contains the cross, or Cartesian, product of set1 and set2.

Remarks

The parameters, set1 and set2, must represent different hierarchies.

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