다음을 통해 공유


AdomdRestrictionCollection.IndexOf 메서드

Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection.

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

구문

‘선언
Public Function IndexOf ( _
    value As AdomdRestriction _
) As Integer
‘사용 방법
Dim instance As AdomdRestrictionCollection 
Dim value As AdomdRestriction 
Dim returnValue As Integer 

returnValue = instance.IndexOf(value)
public int IndexOf(
    AdomdRestriction value
)
public:
int IndexOf(
    AdomdRestriction^ value
)
member IndexOf : 
        value:AdomdRestriction -> int
public function IndexOf(
    value : AdomdRestriction
) : int

매개 변수

반환 값

유형: System.Int32
The index of value if found in the list; -1 otherwise.

참고 항목

참조

AdomdRestrictionCollection 클래스

Microsoft.AnalysisServices.AdomdClient 네임스페이스