Condividi tramite


Metodo Cube.LinkMeasureGroup (MeasureGroup, 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.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function LinkMeasureGroup ( _
    source As MeasureGroup, _
    dataSourceId As String _
) As MeasureGroup
'Utilizzo
Dim instance As Cube 
Dim source As MeasureGroup 
Dim dataSourceId As String 
Dim returnValue As MeasureGroup 

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

Parametri

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

Valore restituito

Tipo: Microsoft.AnalysisServices.MeasureGroup
The new MeasureGroup.

Vedere anche

Riferimento

Cube Classe

Overload LinkMeasureGroup

Spazio dei nomi Microsoft.AnalysisServices