Visual Studio 2017을 사용하는 것이 좋습니다.

ReportParameterCollection.IndexOf 메서드 (String)

Gets the index of a ReportParameter that has the specified name.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

public int IndexOf(
	string name

매개 변수

유형: System.String
The name of a ReportParameter to locate.

반환 값

유형: System.Int32
The zero-based index of the ReportParameter specified by name if the object is found; otherwise, -1.