Метод CubePermissionCollection.Contains (CubePermission)
Indicates whether the collection contains a specified CubePermission.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Contains ( _
item As CubePermission _
) As Boolean
'Применение
Dim instance As CubePermissionCollection
Dim item As CubePermission
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
CubePermission item
)
public:
bool Contains(
CubePermission^ item
)
member Contains :
item:CubePermission -> bool
public function Contains(
item : CubePermission
) : boolean
Параметры
- item
Тип: Microsoft.AnalysisServices.CubePermission
The CubePermission to be located.
Возвращаемое значение
Тип: System.Boolean
true if the CubePermission is contained in the collection; otherwise, false.