Compartilhar via


Cube.LinkMeasureGroup Method (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.

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
Public Function LinkMeasureGroup ( _
    source As MeasureGroup, _
    dataSourceId As String, _
    name As String _
) As MeasureGroup
public MeasureGroup LinkMeasureGroup (
    MeasureGroup source,
    string dataSourceId,
    string name
)
public:
MeasureGroup^ LinkMeasureGroup (
    MeasureGroup^ source, 
    String^ dataSourceId, 
    String^ name
)
public MeasureGroup LinkMeasureGroup (
    MeasureGroup source, 
    String dataSourceId, 
    String name
)
public function LinkMeasureGroup (
    source : MeasureGroup, 
    dataSourceId : String, 
    name : String
) : MeasureGroup

Parameters

  • source
    The measure group which is pointed to.
  • dataSourceId
  • name
    The name to give the LinkMeasureGroup.

Return Value

The new MeasureGroup.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Cube Class
Cube Members
Microsoft.AnalysisServices Namespace