PerspectiveHierarchyCollection.Move メソッド (String, Int32)

指定した識別子を持つ PerspectiveHierarchy を、コレクション内の指定したインデックスに移動します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Function Move ( _
    hierarchyId As String, _
    toIndex As Integer _
) As PerspectiveHierarchy
'使用
Dim instance As PerspectiveHierarchyCollection 
Dim hierarchyId As String 
Dim toIndex As Integer 
Dim returnValue As PerspectiveHierarchy 

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

パラメーター

戻り値

型: Microsoft.AnalysisServices.PerspectiveHierarchy
移動する PerspectiveHierarchy です。

例外

例外 条件
ArgumentOutOfRangeException

fromIndex に 0 より小さい値が指定されています。

-または-

fromIndex に [H:Microsoft.AnalysisServices.ModelComponentCollection.Count] 以上の値が指定されています。

-または-

hierarchyID がコレクションに存在しません。

関連項目

参照

PerspectiveHierarchyCollection クラス

Move オーバーロード

Microsoft.AnalysisServices 名前空間