DatabaseCollection.Move 메서드

정의

오버로드

Move(Database, Int32)

지정된 Database를 컬렉션의 새 위치로 이동합니다.

Move(Int32, Int32)

컬렉션의 Database을 현재 위치에서 새 위치로 이동합니다.

Move(String, Int32)

지정된 식별자를 가진 Database을 컬렉션의 새 위치로 이동합니다.

Move(Database, Int32)

지정된 Database를 컬렉션의 새 위치로 이동합니다.

public void Move (Microsoft.AnalysisServices.Database item, int toIndex);
override this.Move : Microsoft.AnalysisServices.Database * int -> unit
Public Sub Move (item As Database, toIndex As Integer)

매개 변수

item
Database

이동할 Database입니다.

toIndex
Int32

지정된 Database를 이동할 인덱스(0부터 시작)입니다.

예외

  • 지정된 Database 가 컬렉션에 없습니다.
  • 지정된 toIndex가 유효한 값이 아닙니다(0보다 작거나 더 크면 총 요소 수).

적용 대상

Move(Int32, Int32)

컬렉션의 Database을 현재 위치에서 새 위치로 이동합니다.

public Microsoft.AnalysisServices.Database Move (int fromIndex, int toIndex);
override this.Move : int * int -> Microsoft.AnalysisServices.Database
Public Function Move (fromIndex As Integer, toIndex As Integer) As Database

매개 변수

fromIndex
Int32

이동할 Database의 인덱스(0부터 시작)입니다.

toIndex
Int32

fromIndex로 지정된 Database를 이동할 인덱스(0부터 시작)입니다.

반환

이동된 Database입니다.

예외

  • fromIndex에서 지정된 가 유효한 값이 아닙니다(0보다 작거나 더 크면 총 요소 수).
  • 지정된 toIndex가 유효한 값이 아닙니다(0보다 작거나 더 크면 총 요소 수).

적용 대상

Move(String, Int32)

지정된 식별자를 가진 Database을 컬렉션의 새 위치로 이동합니다.

public Microsoft.AnalysisServices.Database Move (string id, int toIndex);
override this.Move : string * int -> Microsoft.AnalysisServices.Database
Public Function Move (id As String, toIndex As Integer) As Database

매개 변수

id
String

이동할 Database의 식별자입니다.

toIndex
Int32

fromIndex로 지정된 Database를 이동할 인덱스(0부터 시작)입니다.

반환

이동된 Database입니다.

예외

  • id가 컬렉션의 에 대한 유효한 식별자가 Database 아닙니다.
  • 지정된 toIndex가 유효한 값이 아닙니다(0보다 작거나 더 크면 총 요소 수).

적용 대상