Classe CellPermission
Specifies the CellPermission for one or more cells in a cube. This class cannot be inherited.
Hiérarchie d'héritage
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.CellPermission
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
<GuidAttribute("C6E2F586-DB91-4b1f-B6FC-EFD81498CFF6")> _
Public NotInheritable Class CellPermission _
Inherits ModelComponent _
Implements ICloneable
'Utilisation
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
Le type CellPermission expose les membres suivants.
Constructeurs
Nom | 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. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Access | Gets or sets the Access values associated with a CellPermission object. | |
Annotations | Gets a collection within which you can store custom data. (hérité de ModelComponent.) | |
Container | (hérité 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 | Infrastructure. Gets the friendly name of the ModelComponent. (hérité de ModelComponent.) | |
KeyForCollection | Infrastructure. Gets the key used in the collection. (hérité de ModelComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (hérité 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 | (hérité de Component.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
AddToContainer | Infrastructure. Adds a ModelComponent object to the specified container. (hérité de ModelComponent.) | |
AfterInsert | Infrastructure. Displays a ModelComponent object after added to the specified index. (hérité de ModelComponent.) | |
AfterMove | Infrastructure. Displays a ModelComponent object after moving to the specified index. (hérité de ModelComponent.) | |
AfterRemove | Infrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (hérité de ModelComponent.) | |
BeforeRemove | Infrastructure. Removes the ModelComponent object before the cleanup. (hérité de ModelComponent.) | |
Clone | Creates a new full copy of an object. | |
CopyTo | Copies a CellPermission object to the specified object. | |
CreateObjRef | Informations critiques de sécurité. (hérité de MarshalByRefObject.) | |
Dispose | (hérité de Component.) | |
Equals | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetLifetimeService | Informations critiques de sécurité. (hérité de MarshalByRefObject.) | |
GetType | (hérité de Object.) | |
InitializeLifetimeService | Informations critiques de sécurité. (hérité de MarshalByRefObject.) | |
RemoveFromContainer | Infrastructure. Removes a ModelComponent object from the specified container. (hérité de ModelComponent.) | |
Submit() | Infrastructure. Submits a ModelComponent object. (hérité de ModelComponent.) | |
Submit(Boolean) | Infrastructure. Submits a ModelComponent object. (hérité de ModelComponent.) | |
ToString | Infrastructure. Returns a string that represents the current object. (hérité de ModelComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (hérité 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. (hérité de ModelComponent.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | Indicates whether a ModelComponent object is valid. (hérité de ModelComponent.) |
Haut de la page
Événements
Nom | Description | |
---|---|---|
Disposed | (hérité de Component.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
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. (hérité de ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (hérité de ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (hérité de ModelComponent.) |
Haut de la page
Notes
A CellPermission with missing or blank expressions (including comments) is ignored. In the absence of any CellPermission, read access is defined.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.