Udostępnij za pośrednictwem


Metoda AggregationDesignAttributeCollection.Move (String, Int32)

Przesuwa AggregationDesignAttribute, identyfikatorem określonego, określony indeks kolekcja.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public Function Move ( _
    attributeId As String, _
    toIndex As Integer _
) As AggregationDesignAttribute
'Użycie
Dim instance As AggregationDesignAttributeCollection
Dim attributeId As String
Dim toIndex As Integer
Dim returnValue As AggregationDesignAttribute

returnValue = instance.Move(attributeId, _
    toIndex)
public AggregationDesignAttribute Move(
    string attributeId,
    int toIndex
)
public:
AggregationDesignAttribute^ Move(
    String^ attributeId, 
    int toIndex
)
member Move : 
        attributeId:string * 
        toIndex:int -> AggregationDesignAttribute 
public function Move(
    attributeId : String, 
    toIndex : int
) : AggregationDesignAttribute

Parametry

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

fromIndexjest mniejszy od zera.

- lub -

fromIndexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].

- lub -

attributeIDnie jest zawarty kolekcja.