Compartir a través de


Clase CubePermission

Defines the permissions of the members of a specific Role element in a specific Cube. This class cannot be inherited.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
<GuidAttribute("2913B084-53E2-4cc4-85C2-CDB7437D983A")> _
Public NotInheritable Class CubePermission _
    Inherits Permission _
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent,  _
    IDisposable, ICloneable
'Uso
Dim instance As CubePermission
[GuidAttribute("2913B084-53E2-4cc4-85C2-CDB7437D983A")]
public sealed class CubePermission : Permission, 
    IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, 
    ICloneable
[GuidAttribute(L"2913B084-53E2-4cc4-85C2-CDB7437D983A")]
public ref class CubePermission sealed : public Permission, 
    IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("2913B084-53E2-4cc4-85C2-CDB7437D983A")>]
type CubePermission =  
    class
        inherit Permission
        interface IMajorObject
        interface INamedComponent
        interface IModelComponent
        interface IComponent
        interface IDisposable
        interface ICloneable
    end
public final class CubePermission extends Permission implements IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, ICloneable

El tipo CubePermission expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público CubePermission() () () () Initializes a new instance of the CubePermission class using default values.
Método público CubePermission(String, String, String) Initializes a new instance of the Cube class using a name, a role identifier, and a unique identifier.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Annotations Gets the collection object of all annotations to current object. (Se hereda de MajorObject.)
Propiedad protegida CanRaiseEvents (Se hereda de Component.)
Propiedad pública CellPermissions Gets the cell permissions collection associated with a CubePermission object.
Propiedad pública Container (Se hereda de Component.)
Propiedad pública CreatedTimestamp Gets or sets the date and time of the creation of the object. (Se hereda de MajorObject.)
Propiedad pública Description Gets or sets a description string of current object. (Se hereda de MajorObject.)
Propiedad protegida DesignMode (Se hereda de Component.)
Propiedad pública DimensionPermissions Gets the cube dimension collection associated with a CubePermission object.
Propiedad protegida Events (Se hereda de Component.)
Propiedad protegida FriendlyName (Se hereda de NamedComponent.)
Propiedad pública ID (Se hereda de NamedComponent.)
Propiedad pública IsLoaded Infraestructura. (Se hereda de MajorObject.)
Propiedad protegida KeyForCollection (Se hereda de NamedComponent.)
Propiedad pública LastSchemaUpdate Gets or sets the date and time when current object schema was last updated. (Se hereda de MajorObject.)
Propiedad pública Name (Se hereda de NamedComponent.)
Propiedad pública OwningCollection Gets or sets the collection that contains the ModelComponent. (Se hereda de ModelComponent.)
Propiedad pública Parent Gets the parent Cube of a CubePermission object.
Propiedad pública ParentDatabase Gets the parent Database of a CubePermission object.
Propiedad pública ParentServer Gets the parent Server of a CubePermission object.
Propiedad pública Process Gets or sets the Process attribute for the parent object. (Se hereda de Permission.)
Propiedad pública Read Gets or sets the Read attribute for the parent object. (Se hereda de Permission.)
Propiedad pública ReadDefinition Gets or sets the ReadDefinition attribute for the parent object. (Se hereda de Permission.)
Propiedad pública ReadSourceData Gets or sets permission to read pass 0 data (or storage engine data) without calculations applied on it.
Propiedad pública Role Gets a Role object for which permissions are being defined. (Se hereda de Permission.)
Propiedad pública RoleID Gets or ets the RoleID of a Role object for which permissions are being defined. (Se hereda de Permission.)
Propiedad pública Site (Se hereda de NamedComponent.)
Propiedad pública SiteID (Se hereda de NamedComponent.)
Propiedad pública Write Gets or sets the Write attribute for the parent object. (Se hereda de Permission.)

Arriba

Métodos

  Nombre Descripción
Método protegido AddToContainer Infraestructura. (Se hereda de ModelComponent.)
Método protegido AfterInsert Infraestructura. (Se hereda de ModelComponent.)
Método protegido AfterMove Infraestructura. (Se hereda de ModelComponent.)
Método protegido AfterRemove Infraestructura. (Se hereda de ModelComponent.)
Método protegido BeforeRemove Infraestructura. (Se hereda de ModelComponent.)
Método público Clone() () () () Creates a new, full copy of an object.
Método protegido Clone(Boolean) Infraestructura. (Se hereda de MajorObject.)
Método público CopyTo(CubePermission) Copies a CubePermission to the specified object.
Método protegido CopyTo(ModelComponent) Infraestructura. (Se hereda de ModelComponent.)
Método protegido CopyTo(NamedComponent) (Se hereda de NamedComponent.)
Método protegido CopyTo(MajorObject, Boolean) Infraestructura. (Se hereda de Permission.)
Método público CreateObjRef (Se hereda de MarshalByRefObject.)
Método público Dispose() () () () (Se hereda de Component.)
Método protegido Dispose(Boolean) (Se hereda de Component.)
Método público Drop() () () () Removes current object and updates server. (Se hereda de MajorObject.)
Método público Drop(DropOptions) Removes current object and updates server using specified options. (Se hereda de MajorObject.)
Método público Drop(DropOptions, XmlaWarningCollection) Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings object. (Se hereda de MajorObject.)
Método público Drop(DropOptions, XmlaWarningCollection, ImpactDetailCollection) Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable. (Se hereda de MajorObject.)
Método público Drop(DropOptions, XmlaWarningCollection, ImpactDetailCollection, Boolean) Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable. (Se hereda de MajorObject.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Component.)
Método protegido GetCreateReferences Infraestructura. (Se hereda de MajorObject.)
Método público GetDependents Infraestructura. (Se hereda de MajorObject.)
Método protegido GetDropDependents Infraestructura. (Se hereda de MajorObject.)
Método público GetHashCode (Se hereda de Object.)
Método público GetLifetimeService (Se hereda de MarshalByRefObject.)
Método público GetReferences Infraestructura. (Se hereda de MajorObject.)
Método protegido GetService (Se hereda de Component.)
Método público GetType (Se hereda de Object.)
Método público GetUpdateOverwrites Infraestructura. (Se hereda de MajorObject.)
Método público InitializeLifetimeService (Se hereda de MarshalByRefObject.)
Método protegido MemberwiseClone() () () () (Se hereda de Object.)
Método protegido MemberwiseClone(Boolean) (Se hereda de MarshalByRefObject.)
Método público Refresh() () () () Updates current object from server definitions. (Se hereda de MajorObject.)
Método público Refresh(Boolean) Updates current object from server definitions and loaded dependent objects if specified. (Se hereda de MajorObject.)
Método público Refresh(Boolean, RefreshType) Updates current object from server definitions and loaded dependent objects if specified. (Se hereda de MajorObject.)
Método protegido RemoveFromContainer Infraestructura. (Se hereda de ModelComponent.)
Método protegido Reset (Se hereda de NamedComponent.)
Método público Submit() () () () Infraestructura. (Se hereda de ModelComponent.)
Método público Submit(Boolean) Infraestructura. (Se hereda de ModelComponent.)
Método público ToString (Se hereda de NamedComponent.)
Método público Update() () () () Updates server definition of current object to actual values using the default values to update dependent objects. (Se hereda de MajorObject.)
Método público Update(UpdateOptions) Updates server definition of current object to actual values using the specified options to update dependent objects. (Se hereda de MajorObject.)
Método público Update(UpdateOptions, UpdateMode) Updates server definition of current object to actual values using the specified options to update dependent objects. (Se hereda de MajorObject.)
Método público Update(UpdateOptions, UpdateMode, XmlaWarningCollection) Updates server definition of current object to actual values using the specified options to update dependent objects and reports any warnings from operation. (Se hereda de MajorObject.)
Método público Update(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection) Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. (Se hereda de MajorObject.)
Método público Update(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection, Boolean) Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. If analyzeImpactOnly is true, an impact analysis operation is performed with no update operation. (Se hereda de MajorObject.)
Método público Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (Se hereda de ModelComponent.)
Método público Validate(ValidationResultCollection) (Se hereda de MajorObject.)
Método público 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. (Se hereda de ModelComponent.)
Método público Validate(ValidationResultCollection, ValidationOptions) (Se hereda de MajorObject.)
Método público Validate(ValidationErrorCollection, Boolean, ServerEdition) (Invalida Permission. . :: . .Validate(ValidationErrorCollection, Boolean, ServerEdition).)
Método público Validate(ValidationResultCollection, ValidationOptions, ServerEdition) (Se hereda de MajorObject.)

Arriba

Eventos

  Nombre Descripción
Evento público Disposed (Se hereda de Component.)

Arriba

Comentarios

For any dimension in a cube that has no DimensionPermissions in the CubePermission object, permissions are inherited from the database's DimensionPermission.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.