Share via


RoleCollection.Contains 메서드 (Role)

Indicates whether the collection contains a specified Role.

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

구문

‘선언
Public Function Contains ( _
    item As Role _
) As Boolean
‘사용 방법
Dim instance As RoleCollection 
Dim item As Role 
Dim returnValue As Boolean 

returnValue = instance.Contains(item)
public bool Contains(
    Role item
)
public:
bool Contains(
    Role^ item
)
member Contains : 
        item:Role -> bool
public function Contains(
    item : Role
) : boolean

매개 변수

반환 값

유형: System.Boolean
true if the Role exists in the collection; otherwise, false.

참고 항목

참조

RoleCollection 클래스

Contains 오버로드

Microsoft.AnalysisServices 네임스페이스