Classe CellPermission
Specifies the CellPermission for one or more cells in a cube. This class cannot be inherited.
Gerarchia di ereditarietà
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.CellPermission
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
<GuidAttribute("C6E2F586-DB91-4b1f-B6FC-EFD81498CFF6")> _
Public NotInheritable Class CellPermission _
Inherits ModelComponent _
Implements ICloneable
'Utilizzo
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
Nel tipo CellPermission sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
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 alto
Proprietà
Nome | Descrizione | |
---|---|---|
Access | Gets or sets the Access values associated with a CellPermission object. | |
Annotations | Gets a collection within which you can store custom data. Ereditato da ModelComponent. | |
Container | Ereditato da 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 | Infrastruttura. Gets the friendly name of the ModelComponent. Ereditato da ModelComponent. | |
KeyForCollection | Infrastruttura. Gets the key used in the collection. Ereditato da ModelComponent. | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. Ereditato da 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 | Ereditato da Component. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
AddToContainer | Infrastruttura. Adds a ModelComponent object to the specified container. Ereditato da ModelComponent. | |
AfterInsert | Infrastruttura. Displays a ModelComponent object after added to the specified index. Ereditato da ModelComponent. | |
AfterMove | Infrastruttura. Displays a ModelComponent object after moving to the specified index. Ereditato da ModelComponent. | |
AfterRemove | Infrastruttura. Displays a ModelComponentCollection after a ModelComponent object is removed. Ereditato da ModelComponent. | |
BeforeRemove | Infrastruttura. Removes the ModelComponent object before the cleanup. Ereditato da ModelComponent. | |
Clone | Creates a new full copy of an object. | |
CopyTo | Copies a CellPermission object to the specified object. | |
CreateObjRef | Criticità per la sicurezza. Ereditato da MarshalByRefObject. | |
Dispose | Ereditato da Component. | |
Equals | Ereditato da Object. | |
GetHashCode | Ereditato da Object. | |
GetLifetimeService | Criticità per la sicurezza. Ereditato da MarshalByRefObject. | |
GetType | Ereditato da Object. | |
InitializeLifetimeService | Criticità per la sicurezza. Ereditato da MarshalByRefObject. | |
RemoveFromContainer | Infrastruttura. Removes a ModelComponent object from the specified container. Ereditato da ModelComponent. | |
Submit() | Infrastruttura. Submits a ModelComponent object. Ereditato da ModelComponent. | |
Submit(Boolean) | Infrastruttura. Submits a ModelComponent object. Ereditato da ModelComponent. | |
ToString | Infrastruttura. Returns a string that represents the current object. Ereditato da ModelComponent. | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. Ereditato da 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. Ereditato da ModelComponent. | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | Indicates whether a ModelComponent object is valid. Ereditato da ModelComponent. |
In alto
Eventi
Nome | Descrizione | |
---|---|---|
Disposed | Ereditato da Component. |
In alto
Implementazioni esplicite dell'interfaccia
Nome | Descrizione | |
---|---|---|
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. Ereditato da ModelComponent. | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. Ereditato da ModelComponent. | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. Ereditato da ModelComponent. |
In alto
Osservazioni
A CellPermission with missing or blank expressions (including comments) is ignored. In the absence of any CellPermission, read access is defined.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.