Metoda MeasureGroupAttributeCollection.Move (String, Int32)
Przesuwa MeasureGroupAttribute ma określony identyfikator z określonym indeksem 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 MeasureGroupAttribute
'Użycie
Dim instance As MeasureGroupAttributeCollection
Dim attributeId As String
Dim toIndex As Integer
Dim returnValue As MeasureGroupAttribute
returnValue = instance.Move(attributeId, _
toIndex)
public MeasureGroupAttribute Move(
string attributeId,
int toIndex
)
public:
MeasureGroupAttribute^ Move(
String^ attributeId,
int toIndex
)
member Move :
attributeId:string *
toIndex:int -> MeasureGroupAttribute
public function Move(
attributeId : String,
toIndex : int
) : MeasureGroupAttribute
Parametry
- attributeId
Typ: System.String
- toIndex
Typ: System.Int32
Indeks od zera do którego należy przenieść MeasureGroupAttribute określonych przez attributeID.
Wartość zwracana
Typ: Microsoft.AnalysisServices.MeasureGroupAttribute
MeasureGroupAttribute , Jest przenoszony.
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 istnieje kolekcja. |
Zobacz także