CubeDimensionCollection.Insert CubeDimensionCollection.Insert CubeDimensionCollection.Insert Method

Definition

Inserts a CubeDimension into the collection.

Overloads

Insert(Int32, String, String, String) Insert(Int32, String, String, String) Insert(Int32, String, String, String)

Creates and inserts a CubeDimension, with the specified dimension identifier, name, and identifier, into the collection at the specified index.

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

Creates and inserts a CubeDimension, with the specified identifier, into the collection at the specified index.

Insert(Int32, CubeDimension) Insert(Int32, CubeDimension) Insert(Int32, CubeDimension)

Inserts a CubeDimension into the collection at the specified index.

Insert(Int32, String, String, String) Insert(Int32, String, String, String) Insert(Int32, String, String, String)

Creates and inserts a CubeDimension, with the specified dimension identifier, name, and identifier, into the collection at the specified index.

public:
 Microsoft::AnalysisServices::CubeDimension ^ Insert(int index, System::String ^ dimensionId, System::String ^ name, System::String ^ id);
public Microsoft.AnalysisServices.CubeDimension Insert (int index, string dimensionId, string name, string id);
Public Function Insert (index As Integer, dimensionId As String, name As String, id As String) As CubeDimension
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new CubeDimension will be inserted.

dimensionId
String String String

The identifier of the Dimension to be inserted.

name
String String String

The name of the CubeDimension to be added.

id
String String String

The identifier of the CubeDimension to be added.

Returns

A new CubeDimension based on the dimension specified in dimensionID.

Exceptions

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

Creates and inserts a CubeDimension, with the specified identifier, into the collection at the specified index.

public:
 Microsoft::AnalysisServices::CubeDimension ^ Insert(int index, System::String ^ dimensionId);
public Microsoft.AnalysisServices.CubeDimension Insert (int index, string dimensionId);
Public Function Insert (index As Integer, dimensionId As String) As CubeDimension
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new CubeDimension will be inserted.

dimensionId
String String String

The identifier of the Dimension to be inserted.

Returns
Exceptions

Insert(Int32, CubeDimension) Insert(Int32, CubeDimension) Insert(Int32, CubeDimension)

Inserts a CubeDimension into the collection at the specified index.

public:
 void Insert(int index, Microsoft::AnalysisServices::CubeDimension ^ item);
public void Insert (int index, Microsoft.AnalysisServices.CubeDimension item);
Public Sub Insert (index As Integer, item As CubeDimension)
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new CubeDimension will be inserted.

Exceptions

Applies to