共用方式為


Cube.LinkMeasureGroup 方法 (MeasureGroup, String, String)

Generates a regular measure group, but it is set up to point to other measure groups. As parameters, this method takes the measure group (source) you want to link to and a data source identifier.

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

語法

'宣告
Public Function LinkMeasureGroup ( _
    source As MeasureGroup, _
    dataSourceId As String, _
    name As String _
) As MeasureGroup
'用途
Dim instance As Cube 
Dim source As MeasureGroup 
Dim dataSourceId As String 
Dim name As String 
Dim returnValue As MeasureGroup 

returnValue = instance.LinkMeasureGroup(source, _
    dataSourceId, name)
public MeasureGroup LinkMeasureGroup(
    MeasureGroup source,
    string dataSourceId,
    string name
)
public:
MeasureGroup^ LinkMeasureGroup(
    MeasureGroup^ source, 
    String^ dataSourceId, 
    String^ name
)
member LinkMeasureGroup : 
        source:MeasureGroup * 
        dataSourceId:string * 
        name:string -> MeasureGroup
public function LinkMeasureGroup(
    source : MeasureGroup, 
    dataSourceId : String, 
    name : String
) : MeasureGroup

參數

  • dataSourceId
    型別:System.String
    The data source identifier for the database that holds the source measure group.

傳回值

型別:Microsoft.AnalysisServices.MeasureGroup
The new MeasureGroup.

請參閱

參考

Cube 類別

LinkMeasureGroup 多載

Microsoft.AnalysisServices 命名空間