Метод 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
Параметры
- item
Тип Microsoft.AnalysisServices. . :: . .Role
The Role to locate.
Возвращаемое значение
Тип System. . :: . .Boolean
true if the Role exists in the collection; otherwise, false.