Classe CellPermission
Specifies the CellPermission for one or more cells in a cube. This class cannot be inherited.
Hierarquia de herança
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.CellPermission
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
<GuidAttribute("C6E2F586-DB91-4b1f-B6FC-EFD81498CFF6")> _
Public NotInheritable Class CellPermission _
Inherits ModelComponent _
Implements ICloneable
'Uso
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
O tipo CellPermission expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
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. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Access | Gets or sets the Access values associated with a CellPermission object. | |
Annotations | Gets a collection within which you can store custom data. (Herdado de ModelComponent.) | |
Container | (Herdado de 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 | Infraestrutura. Gets the friendly name of the ModelComponent. (Herdado de ModelComponent.) | |
KeyForCollection | Infraestrutura. Gets the key used in the collection. (Herdado de ModelComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Herdado de 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 | (Herdado de Component.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
AddToContainer | Infraestrutura. Adds a ModelComponent object to the specified container. (Herdado de ModelComponent.) | |
AfterInsert | Infraestrutura. Displays a ModelComponent object after added to the specified index. (Herdado de ModelComponent.) | |
AfterMove | Infraestrutura. Displays a ModelComponent object after moving to the specified index. (Herdado de ModelComponent.) | |
AfterRemove | Infraestrutura. Displays a ModelComponentCollection after a ModelComponent object is removed. (Herdado de ModelComponent.) | |
BeforeRemove | Infraestrutura. Removes the ModelComponent object before the cleanup. (Herdado de ModelComponent.) | |
Clone | Creates a new full copy of an object. | |
CopyTo | Copies a CellPermission object to the specified object. | |
CreateObjRef | Segurança crítica. (Herdado de MarshalByRefObject.) | |
Dispose | (Herdado de Component.) | |
Equals | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetLifetimeService | Segurança crítica. (Herdado de MarshalByRefObject.) | |
GetType | (Herdado de Object.) | |
InitializeLifetimeService | Segurança crítica. (Herdado de MarshalByRefObject.) | |
RemoveFromContainer | Infraestrutura. Removes a ModelComponent object from the specified container. (Herdado de ModelComponent.) | |
Submit() | Infraestrutura. Submits a ModelComponent object. (Herdado de ModelComponent.) | |
Submit(Boolean) | Infraestrutura. Submits a ModelComponent object. (Herdado de ModelComponent.) | |
ToString | Infraestrutura. Returns a string that represents the current object. (Herdado de ModelComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Herdado de 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. (Herdado de ModelComponent.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | Indicates whether a ModelComponent object is valid. (Herdado de ModelComponent.) |
Início
Eventos
Nome | Descrição | |
---|---|---|
Disposed | (Herdado de Component.) |
Início
Implementações de interfaces explícitas
Nome | Descrição | |
---|---|---|
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. (Herdado de ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Herdado de ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (Herdado de ModelComponent.) |
Início
Comentários
A CellPermission with missing or blank expressions (including comments) is ignored. In the absence of any CellPermission, read access is defined.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.