Поделиться через


Класс CellPermissionCollection

Contains a collection of CellPermission objects. This class cannot be inherited.

Иерархия наследования

System. . :: . .Object
  Microsoft.AnalysisServices. . :: . .ModelComponentCollection
    Microsoft.AnalysisServices..::..CellPermissionCollection

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
<GuidAttribute("6EDCDAFE-1E72-405b-9AA5-1494A78A207E")> _
Public NotInheritable Class CellPermissionCollection _
    Inherits ModelComponentCollection
'Применение
Dim instance As CellPermissionCollection
[GuidAttribute("6EDCDAFE-1E72-405b-9AA5-1494A78A207E")]
public sealed class CellPermissionCollection : ModelComponentCollection
[GuidAttribute(L"6EDCDAFE-1E72-405b-9AA5-1494A78A207E")]
public ref class CellPermissionCollection sealed : public ModelComponentCollection
[<SealedAttribute>]
[<GuidAttribute("6EDCDAFE-1E72-405b-9AA5-1494A78A207E")>]
type CellPermissionCollection =  
    class
        inherit ModelComponentCollection
    end
public final class CellPermissionCollection extends ModelComponentCollection

Тип CellPermissionCollection обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство Count Gets the number of ModelComponent objects in the ModelComponentCollection. (Производный от ModelComponentCollection.)
Защищенное свойство DemandLoadingService Инфраструктура. (Производный от ModelComponentCollection.)
Открытое свойство IsFixedSize Gets a value indicating whether the ModelComponentCollection has a fixed size. (Производный от ModelComponentCollection.)
Открытое свойство IsReadOnly Gets a value indicating whether the ModelComponentCollection is read-only. (Производный от ModelComponentCollection.)
Открытое свойство IsSynchronized Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Производный от ModelComponentCollection.)
Открытое свойство Item[ ( [ ( Int32] ) ] ) Gets the CellPermission at the specified index from the collection.
Открытое свойство Item[ ( [ ( CellPermissionAccess] ) ] ) Gets the first CellPermission, with the specified CellPermissionAccess value, from the collection.
Защищенное свойство ItemsType Gets the Type of objects that can be contained by the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытое свойство Parent Gets the IModelComponent that contains the ModelComponentCollection. (Производный от ModelComponentCollection.)
Защищенное свойство Preloadable Инфраструктура. (Производный от ModelComponentCollection.)
Открытое свойство SyncRoot Gets an object that can be used to synchronize access to the ModelComponentCollection. (Производный от ModelComponentCollection.)

В начало

Методы

  Имя Описание
Открытый метод Add(CellPermission) Adds a CellPermission to the end of the collection.
Открытый метод Add(CellPermissionAccess) Creates and adds a CellPermission, with the specified CellPermissionAccess value, to the end of the collection.
Защищенный метод Add(ModelComponent) Инфраструктура. (Производный от ModelComponentCollection.)
Защищенный метод Add(String, IModelComponent) (Производный от ModelComponentCollection.)
Защищенный метод Add(ModelComponent, Boolean) Инфраструктура. (Производный от ModelComponentCollection.)
Защищенный метод Add(String, IModelComponent, Boolean) (Производный от ModelComponentCollection.)
Защищенный метод AddNew(String, Type) Инфраструктура. (Производный от ModelComponentCollection.)
Защищенный метод AddNew(String, String, Type) Инфраструктура. (Производный от ModelComponentCollection.)
Открытый метод CanAdd Инфраструктура. (Производный от ModelComponentCollection.)
Защищенный метод ChangeKey Инфраструктура. (Производный от ModelComponentCollection.)
Открытый метод Clear Removes all elements from the ModelComponentCollection. (Производный от ModelComponentCollection.)
Защищенный метод Contains(String) Determines whether an item with the specified key is in the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод Contains(CellPermission) Indicates whether the collection contains a specified CellPermission.
Открытый метод Contains(CellPermissionAccess) Indicates whether the collection contains a CellPermission with the specified CellPermissionAccess value.
Защищенный метод Contains(IModelComponent) (Производный от ModelComponentCollection.)
Открытый метод CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Производный от ModelComponentCollection.)
Защищенный метод EnsureLoaded Инфраструктура. (Производный от ModelComponentCollection.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод Find Gets the first CellPermission, with the specified CellPermissionAccess value, from the collection.
Открытый метод GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод GetHashCode (Производный от Object.)
Защищенный метод GetItem Gets a reference to the specified component. (Производный от ModelComponentCollection.)
Открытый метод GetType (Производный от Object.)
Защищенный метод IndexOf(String) Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод IndexOf(CellPermission) Gets the index of a specified CellPermission.
Открытый метод IndexOf(CellPermissionAccess) Gets the index of a CellPermission with the specified CellPermissionAccess value.
Защищенный метод IndexOf(IModelComponent) (Производный от ModelComponentCollection.)
Открытый метод Insert(Int32, CellPermission) Inserts a CellPermission into the collection at the specified index.
Открытый метод Insert(Int32, CellPermissionAccess) Creates and inserts a CellPermission, with the specified CellPermissionAccess value, into the collection at the specified index.
Защищенный метод Insert(Int32, ModelComponent) Инфраструктура. (Производный от ModelComponentCollection.)
Защищенный метод Insert(IModelComponent, String, Int32) (Производный от ModelComponentCollection.)
Защищенный метод Insert(IModelComponent, String, Int32, Boolean) (Производный от ModelComponentCollection.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод Move(Int32, Int32) Moves a CellPermission at the current specified index to a new specified index in the collection.
Открытый метод Move(CellPermission, Int32) Moves a CellPermission to a new index in the collection.
Открытый метод Move(CellPermissionAccess, Int32) Moves a CellPermission, with the specified CellPermissionAccess value, to a new index in the collection.
Открытый метод Remove(CellPermission) Removes the specified CellPermission from the collection.
Открытый метод Remove(CellPermissionAccess) Removes a CellPermission, with the specified CellPermissionAccess value, from the collection.
Защищенный метод Remove(IModelComponent) (Производный от ModelComponentCollection.)
Открытый метод Remove(CellPermission, Boolean) Инфраструктура.
Открытый метод Remove(CellPermissionAccess, Boolean) Инфраструктура.
Открытый метод RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection. (Производный от ModelComponentCollection.)
Открытый метод RemoveAt(Int32, Boolean) Инфраструктура. (Производный от ModelComponentCollection.)
Открытый метод ToString (Производный от Object.)

В начало

События

  Имя Описание
Открытое событие CollectionChanged Инфраструктура. (Производный от ModelComponentCollection.)
Открытое событие CollectionChanging Инфраструктура. (Производный от ModelComponentCollection.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IList. . :: . .Add (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList. . :: . .Clear (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList. . :: . .Contains (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList. . :: . .IndexOf (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList. . :: . .Insert (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытое свойство IList. . :: . .Item (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList. . :: . .Remove (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IList. . :: . .RemoveAt (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IModelComponentCollection. . :: . .Contains (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IModelComponentCollection. . :: . .Remove(IModelComponent) (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IModelComponentCollection. . :: . .Remove(IModelComponent, Boolean) (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытый метод IOnDemandLoadableCollection. . :: . .BlockOnDemandLoad (Производный от ModelComponentCollection.)
Явная реализация интерфейсаЗакрытое свойство IOnDemandLoadableCollection. . :: . .Loaded (Производный от ModelComponentCollection.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник