共用方式為


CrossJoin 方法

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

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public Shared Function CrossJoin ( _
    set1 As Set, _
    set2 As Set _
) As Set
'用途
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

參數

傳回值

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

備註

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