MeasureGroupCollection.Add MeasureGroupCollection.Add MeasureGroupCollection.Add Method

Definition

Creates and adds a MeasureGroup to the collection.

Overloads

Add() Add() Add()

Creates and adds a MeasureGroup to the end of the collection.

Add(MeasureGroup) Add(MeasureGroup) Add(MeasureGroup)

Adds a MeasureGroup to the end of the collection.

Add(String) Add(String) Add(String)

Creates and adds a MeasureGroup, with the specified identifier, to the end of the collection.

Add(String, String) Add(String, String) Add(String, String)

Creates and adds a MeasureGroup, with the specified name and identifier, to the end of the collection.

Add() Add() Add()

Creates and adds a MeasureGroup to the end of the collection.

public:
 Microsoft::AnalysisServices::MeasureGroup ^ Add();
public Microsoft.AnalysisServices.MeasureGroup Add ();
Public Function Add () As MeasureGroup
Returns

Add(MeasureGroup) Add(MeasureGroup) Add(MeasureGroup)

Adds a MeasureGroup to the end of the collection.

public:
 int Add(Microsoft::AnalysisServices::MeasureGroup ^ item);
public int Add (Microsoft.AnalysisServices.MeasureGroup item);
Public Function Add (item As MeasureGroup) As Integer
Parameters
Returns

The zero-based index at which the MeasureGroup has been added.

Add(String) Add(String) Add(String)

Creates and adds a MeasureGroup, with the specified identifier, to the end of the collection.

public:
 Microsoft::AnalysisServices::MeasureGroup ^ Add(System::String ^ name);
public Microsoft.AnalysisServices.MeasureGroup Add (string name);
Public Function Add (name As String) As MeasureGroup
Parameters
name
String String String

The identifier of the MeasureGroup to add.

Returns

The zero-based index at which the MeasureGroup has been added.

Add(String, String) Add(String, String) Add(String, String)

Creates and adds a MeasureGroup, with the specified name and identifier, to the end of the collection.

public:
 Microsoft::AnalysisServices::MeasureGroup ^ Add(System::String ^ name, System::String ^ id);
public Microsoft.AnalysisServices.MeasureGroup Add (string name, string id);
Public Function Add (name As String, id As String) As MeasureGroup
Parameters
name
String String String

The name of the MeasureGroup to add.

id
String String String

The identifier of the MeasureGroup to add.

Returns

The zero-based index at which the MeasureGroup has been added.

Applies to