AggregationInstanceAttributeCollection.Move AggregationInstanceAttributeCollection.Move AggregationInstanceAttributeCollection.Move Method

Definition

Moves an AggregationInstanceAttribute to a new index position in the collection.

Overloads

Move(AggregationInstanceAttribute, Int32) Move(AggregationInstanceAttribute, Int32) Move(AggregationInstanceAttribute, Int32)

Moves a specified AggregationInstanceAttribute to a new index position in the collection.

Move(Int32, Int32) Move(Int32, Int32) Move(Int32, Int32)

Moves a specified AggregationInstanceAttribute from one position to another position in the collection.

Move(String, Int32) Move(String, Int32) Move(String, Int32)

Moves a specified AggregationInstanceAttribute to a new index position.

Move(AggregationInstanceAttribute, Int32) Move(AggregationInstanceAttribute, Int32) Move(AggregationInstanceAttribute, Int32)

Moves a specified AggregationInstanceAttribute to a new index position in the collection.

public:
 void Move(Microsoft::AnalysisServices::AggregationInstanceAttribute ^ item, int toIndex);
public void Move (Microsoft.AnalysisServices.AggregationInstanceAttribute item, int toIndex);
Public Sub Move (item As AggregationInstanceAttribute, toIndex As Integer)
Parameters
toIndex
Int32 Int32 Int32

Specifies the new index position in the collection.

Exceptions

You might receive one of the following error messages:

toIndex is less than zero.

toIndex is equal to or greater than Count.

item is not contained by the collection.

Move(Int32, Int32) Move(Int32, Int32) Move(Int32, Int32)

Moves a specified AggregationInstanceAttribute from one position to another position in the collection.

public:
 Microsoft::AnalysisServices::AggregationInstanceAttribute ^ Move(int fromIndex, int toIndex);
public Microsoft.AnalysisServices.AggregationInstanceAttribute Move (int fromIndex, int toIndex);
Public Function Move (fromIndex As Integer, toIndex As Integer) As AggregationInstanceAttribute
Parameters
fromIndex
Int32 Int32 Int32

Specifies the former index position in the collection

toIndex
Int32 Int32 Int32

Specifies the new index position in the collection.

Returns
Exceptions

You might receive one of the following error messages:

toIndex is less than zero.

toIndex is equal to or greater than Count.

item is not contained by the collection.

Move(String, Int32) Move(String, Int32) Move(String, Int32)

Moves a specified AggregationInstanceAttribute to a new index position.

public:
 Microsoft::AnalysisServices::AggregationInstanceAttribute ^ Move(System::String ^ attributeId, int toIndex);
public Microsoft.AnalysisServices.AggregationInstanceAttribute Move (string attributeId, int toIndex);
Public Function Move (attributeId As String, toIndex As Integer) As AggregationInstanceAttribute
Parameters
attributeId
String String String

Identifies the attribute of the Aggregation to be moved.

toIndex
Int32 Int32 Int32

Specifies the new index position in the collection.

Returns
Exceptions

You might receive one of the following error messages:

toIndex is less than zero.

toIndex is equal to or greater than Count.

item is not contained by the collection.

Applies to