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


Класс CellPermission

Specifies the CellPermission for one or more cells in a cube. This class cannot be inherited.

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

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.CellPermission

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

Синтаксис

'Декларация
<GuidAttribute("C6E2F586-DB91-4b1f-B6FC-EFD81498CFF6")> _
Public NotInheritable Class CellPermission _
    Inherits ModelComponent _
    Implements ICloneable
'Применение
Dim instance As CellPermission
[GuidAttribute("C6E2F586-DB91-4b1f-B6FC-EFD81498CFF6")]
public sealed class CellPermission : ModelComponent, 
    ICloneable
[GuidAttribute(L"C6E2F586-DB91-4b1f-B6FC-EFD81498CFF6")]
public ref class CellPermission sealed : public ModelComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("C6E2F586-DB91-4b1f-B6FC-EFD81498CFF6")>]
type CellPermission =  
    class 
        inherit ModelComponent 
        interface ICloneable 
    end
public final class CellPermission extends ModelComponent implements ICloneable

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

Конструкторы

  Имя Описание
Открытый метод CellPermission() Initializes a new instance of CellPermission using the default values.
Открытый метод CellPermission(CellPermissionAccess) Initializes a new instance of CellPermission specifying access read/write capabilities.
Открытый метод CellPermission(CellPermissionAccess, String) Initializes a new instance of CellPermission using an access and expression parameter.

В начало

Свойства

  Имя Описание
Открытое свойство Access Gets or sets the Access values associated with a CellPermission object.
Открытое свойство Annotations Gets a collection within which you can store custom data. (Производный от ModelComponent.)
Открытое свойство Container (Производный от Component.)
Открытое свойство Description Gets or sets the description associated with a CellPermission object.
Открытое свойство Expression Gets or sets the MDX Expression associated with a CellPermission object.
Защищенное свойство FriendlyName Инфраструктура. Gets the friendly name of the ModelComponent. (Производный от ModelComponent.)
Защищенное свойство KeyForCollection Инфраструктура. Gets the key used in the collection. (Производный от ModelComponent.)
Открытое свойство OwningCollection Gets or sets the collection that contains the ModelComponent. (Производный от ModelComponent.)
Открытое свойство Parent Gets the parent of the CellPermission.
Открытое свойство ParentCube Gets the ParentCube referenced in a CellPermission.
Открытое свойство ParentDatabase Gets the ParentDatabase that is the parent of the CellPermission object's Cube object.
Открытое свойство ParentServer Gets the Server object that is the parent of the CellPermission object.
Открытое свойство Site (Производный от Component.)

В начало

Методы

  Имя Описание
Защищенный метод AddToContainer Инфраструктура. Adds a ModelComponent object to the specified container. (Производный от ModelComponent.)
Защищенный метод AfterInsert Инфраструктура. Displays a ModelComponent object after added to the specified index. (Производный от ModelComponent.)
Защищенный метод AfterMove Инфраструктура. Displays a ModelComponent object after moving to the specified index. (Производный от ModelComponent.)
Защищенный метод AfterRemove Инфраструктура. Displays a ModelComponentCollection after a ModelComponent object is removed. (Производный от ModelComponent.)
Защищенный метод BeforeRemove Инфраструктура. Removes the ModelComponent object before the cleanup. (Производный от ModelComponent.)
Открытый метод Clone Creates a new full copy of an object.
Открытый метод CopyTo Copies a CellPermission object to the specified object.
Открытый метод CreateObjRef Важный элемент безопасности. (Производный от MarshalByRefObject.)
Открытый метод Dispose (Производный от Component.)
Открытый метод Equals (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetLifetimeService Важный элемент безопасности. (Производный от MarshalByRefObject.)
Открытый метод GetType (Производный от Object.)
Открытый метод InitializeLifetimeService Важный элемент безопасности. (Производный от MarshalByRefObject.)
Защищенный метод RemoveFromContainer Инфраструктура. Removes a ModelComponent object from the specified container. (Производный от ModelComponent.)
Открытый метод Submit() Инфраструктура. Submits a ModelComponent object. (Производный от ModelComponent.)
Открытый метод Submit(Boolean) Инфраструктура. Submits a ModelComponent object. (Производный от ModelComponent.)
Открытый метод ToString Инфраструктура. Returns a string that represents the current object. (Производный от ModelComponent.)
Открытый метод Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (Производный от ModelComponent.)
Открытый метод Validate(ValidationErrorCollection, Boolean) Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors. (Производный от ModelComponent.)
Открытый метод Validate(ValidationErrorCollection, Boolean, ServerEdition) Indicates whether a ModelComponent object is valid. (Производный от ModelComponent.)

В начало

События

  Имя Описание
Открытое событие Disposed (Производный от Component.)

В начало

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

  Имя Описание
Явная реализация интерфейсаЗакрытый метод ICloneable.Clone Creates and returns a new object that is a copy of the current instance of this CellPermission object.
Явная реализация интерфейсаЗакрытое свойство IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. (Производный от ModelComponent.)
Явная реализация интерфейсаЗакрытое свойство IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. (Производный от ModelComponent.)
Явная реализация интерфейсаЗакрытое свойство IModelComponent.OwningCollection Gets or sets the collection that owns the current object. (Производный от ModelComponent.)

В начало

Замечания

A CellPermission with missing or blank expressions (including comments) is ignored. In the absence of any CellPermission, read access is defined.

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

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

См. также

Справочник

Пространство имен Microsoft.AnalysisServices