Share 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
'Usage
Dim set1 As Set 
Dim set2 As Set 
Dim returnValue As Set 

returnValue = MDX.CrossJoin(set1, _
    set2)
public static Set CrossJoin(
    Set set1,
    Set set2
)
public:
static Set^ CrossJoin(
    Set^ set1, 
    Set^ set2
)
static member CrossJoin : 
        set1:Set * 
        set2:Set -> Set
public static function CrossJoin(
    set1 : Set, 
    set2 : Set
) : Set

Parameters

Return Value

Type: Microsoft.AnalysisServices.AdomdServer.Set
A set that contains the cross, or Cartesian, product of set1 and set2.

Remarks

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

See Also

Reference

MDX Class

Microsoft.AnalysisServices.AdomdServer Namespace