MDX.CrossJoin 方法
在兩個集合上執行多維度運算式 (MDX) Crossjoin 函數。
命名空間: 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
參數
- set1
型別:Microsoft.AnalysisServices.AdomdServer.Set
要進行交叉聯結的第一個集合。
- set2
型別:Microsoft.AnalysisServices.AdomdServer.Set
要進行交叉聯結的第二個集合。
傳回值
型別:Microsoft.AnalysisServices.AdomdServer.Set
包含 set1 和 set2 之交叉乘積或笛卡兒乘積的集合。
備註
set1 和 set2 參數必須代表不同的階層。