Méthode 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.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function LinkMeasureGroup ( _
source As MeasureGroup, _
dataSourceId As String, _
name As String _
) As MeasureGroup
'Utilisation
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
Paramètres
- source
Type : Microsoft.AnalysisServices. . :: . .MeasureGroup
The measure group which is pointed to.
- dataSourceId
Type : System. . :: . .String
- name
Type : System. . :: . .String
The name to give the LinkMeasureGroup.
Valeur de retour
Type : Microsoft.AnalysisServices. . :: . .MeasureGroup
The new MeasureGroup.
Voir aussi