CellPermission Class
Specifies the CellPermission for one or more cells in a cube. This class cannot be inherited.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.CellPermission
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
<GuidAttribute("C6E2F586-DB91-4b1f-B6FC-EFD81498CFF6")> _
Public NotInheritable Class CellPermission _
Inherits ModelComponent _
Implements ICloneable
'Usage
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
The CellPermission type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Access | Gets or sets the Access values associated with a CellPermission object. | |
Annotations | Gets a collection within which you can store custom data. (Inherited from ModelComponent.) | |
CanRaiseEvents | (Inherited from Component.) | |
Container | (Inherited from Component.) | |
Description | Gets or sets the description associated with a CellPermission object. | |
DesignMode | (Inherited from Component.) | |
Events | (Inherited from Component.) | |
Expression | Gets or sets the MDX Expression associated with a CellPermission object. | |
FriendlyName | Infrastructure. (Inherited from ModelComponent.) | |
KeyForCollection | Infrastructure. (Inherited from ModelComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.) | |
Parent | ||
ParentCube | ||
ParentDatabase | Gets the ParentDatabase that is the parent of the [:Microsoft.AnalysisServices.CellPermission] object's Cube object. | |
ParentServer | Gets the Server object that is the parent of the [:Microsoft.AnalysisServices.CellPermission] object. | |
Site | (Inherited from Component.) |
Top
Methods
Name | Description | |
---|---|---|
AddToContainer | Infrastructure. (Inherited from ModelComponent.) | |
AfterInsert | Infrastructure. (Inherited from ModelComponent.) | |
AfterMove | Infrastructure. (Inherited from ModelComponent.) | |
AfterRemove | Infrastructure. (Inherited from ModelComponent.) | |
BeforeRemove | Infrastructure. (Inherited from ModelComponent.) | |
Clone | Creates a new full copy of an object. | |
CopyTo(CellPermission) | Copies a CellPermission object to the specified object. | |
CopyTo(ModelComponent) | Infrastructure. (Inherited from ModelComponent.) | |
CreateObjRef | (Inherited from MarshalByRefObject.) | |
Dispose() | (Inherited from Component.) | |
Dispose(Boolean) | (Inherited from Component.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Component.) | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | (Inherited from MarshalByRefObject.) | |
GetService | (Inherited from Component.) | |
GetType | (Inherited from Object.) | |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
MemberwiseClone() | (Inherited from Object.) | |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | |
RemoveFromContainer | Infrastructure. (Inherited from ModelComponent.) | |
Reset | Infrastructure. (Inherited from ModelComponent.) | |
Submit() | Infrastructure. (Inherited from ModelComponent.) | |
Submit(Boolean) | Infrastructure. (Inherited from ModelComponent.) | |
ToString | Infrastructure. (Inherited from ModelComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from 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. (Inherited from ModelComponent.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | (Inherited from ModelComponent.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICloneable.Clone | ||
IHostableComponent.Host | (Inherited from ModelComponent.) | |
IModelComponent.FriendlyPath | (Inherited from ModelComponent.) | |
IModelComponent.OwningCollection | (Inherited from ModelComponent.) |
Top
Remarks
A CellPermission with missing or blank expressions (including comments) is ignored. In the absence of any CellPermission, read access is defined.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.