AggregationInstanceCollection.Add AggregationInstanceCollection.Add AggregationInstanceCollection.Add Method

Definition

Creates and adds an AggregationInstance to the collection.

Overloads

Add() Add() Add()

Creates and adds an AggregationInstance to the end of the collection.

Add(AggregationInstance) Add(AggregationInstance) Add(AggregationInstance)

Adds an AggregationInstance to the end of the collection.

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

Creates and adds an AggregationInstance, with the specified identifier, to the end of the collection.

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

Creates and adds an AggregationInstance, with the specified name and identifier, to the end of the collection.

Add() Add() Add()

Creates and adds an AggregationInstance to the end of the collection.

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

Add(AggregationInstance) Add(AggregationInstance) Add(AggregationInstance)

Adds an AggregationInstance to the end of the collection.

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

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

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

Creates and adds an AggregationInstance, with the specified identifier, to the end of the collection.

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

The identifier of the AggregationInstance to be added.

Returns

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

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

Creates and adds an AggregationInstance, with the specified name and identifier, to the end of the collection.

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

The name of the AggregationInstance to be added.

id
String String String

The identifier of the AggregationInstance to be added.

Returns

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

Applies to