AttributeRelationshipCollection.IndexOfName メソッド

name によって識別される AttributeRelationship のインデックスを、コレクションから取得します。

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

構文

'宣言
Public Function IndexOfName ( _
    name As String _
) As Integer
'使用
Dim instance As AttributeRelationshipCollection 
Dim name As String 
Dim returnValue As Integer 

returnValue = instance.IndexOfName(name)
public int IndexOfName(
    string name
)
public:
int IndexOfName(
    String^ name
)
member IndexOfName : 
        name:string -> int
public function IndexOfName(
    name : String
) : int

パラメーター

戻り値

型: System.Int32
コレクションで AttributeRelationship が検索された 0 から始まるインデックスです。オブジェクトが見つからない場合は -1 です。

関連項目

参照

AttributeRelationshipCollection クラス

Microsoft.AnalysisServices 名前空間