Partager via


Classe AttributePermission

Defines the permissions members of a role have on an individual dimension attribute on a cube.

Hiérarchie d'héritage

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.AttributePermission

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
<GuidAttribute("28E086A9-7107-40d6-A878-77DA5BD59E12")> _
Public NotInheritable Class AttributePermission _
    Inherits ModelComponent _
    Implements ICloneable
'Utilisation
Dim instance As AttributePermission
[GuidAttribute("28E086A9-7107-40d6-A878-77DA5BD59E12")]
public sealed class AttributePermission : ModelComponent, 
    ICloneable
[GuidAttribute(L"28E086A9-7107-40d6-A878-77DA5BD59E12")]
public ref class AttributePermission sealed : public ModelComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("28E086A9-7107-40d6-A878-77DA5BD59E12")>]
type AttributePermission =  
    class 
        inherit ModelComponent 
        interface ICloneable 
    end
public final class AttributePermission extends ModelComponent implements ICloneable

Le type AttributePermission expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique AttributePermission() Initializes a new instance of AttributePermission using the default values.
Méthode publique AttributePermission(String) Initializes a new instance of [:Microsoft.AnalysisServices.AttributePermission] using an identifier.

Haut de la page

Propriétés

  Nom Description
Propriété publique AllowedSet Gets or sets a set expression.
Propriété publique Annotations Gets a collection within which you can store custom data. (hérité de ModelComponent.)
Propriété publique Attribute Gets or sets the parent attribute to which the permissions relate.
Propriété publique AttributeID Gets or sets the ID of the attribute to which the permissions relate.
Propriété publique Container (hérité de Component.)
Propriété publique DefaultMember Gets or sets a member expression.
Propriété publique DeniedSet Gets or sets a set expression.
Propriété publique Description Gets or sets the description of the AttributePermission.
Propriété protégée FriendlyName Infrastructure. Gets the friendly name of the ModelComponent. (hérité de ModelComponent.)
Propriété protégée KeyForCollection Infrastructure. Gets the key used in the collection. (hérité de ModelComponent.)
Propriété publique OwningCollection Gets or sets the collection that contains the ModelComponent. (hérité de ModelComponent.)
Propriété publique Parent Infrastructure. Gets the IModelComponent object that is the parent of the ModelComponent object. (hérité de ModelComponent.)
Propriété publique Site (hérité de Component.)
Propriété publique VisualTotals Gets or sets a value that are displayed for members of this attribute (MDX expression). Default value is “0”.

Haut de la page

Méthodes

  Nom Description
Méthode protégée AddToContainer Infrastructure. Adds a ModelComponent object to the specified container. (hérité de ModelComponent.)
Méthode protégée AfterInsert Infrastructure. Displays a ModelComponent object after added to the specified index. (hérité de ModelComponent.)
Méthode protégée AfterMove Infrastructure. Displays a ModelComponent object after moving to the specified index. (hérité de ModelComponent.)
Méthode protégée AfterRemove Infrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (hérité de ModelComponent.)
Méthode protégée BeforeRemove Infrastructure. Removes the ModelComponent object before the cleanup. (hérité de ModelComponent.)
Méthode publique Clone Creates a new full copy of an object.
Méthode publique CopyTo Copies an AttributePermission object to the specified object.
Méthode publique CreateObjRef Informations critiques de sécurité. (hérité de MarshalByRefObject.)
Méthode publique Dispose (hérité de Component.)
Méthode publique Equals (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetLifetimeService Informations critiques de sécurité. (hérité de MarshalByRefObject.)
Méthode publique GetType (hérité de Object.)
Méthode publique InitializeLifetimeService Informations critiques de sécurité. (hérité de MarshalByRefObject.)
Méthode protégée RemoveFromContainer Infrastructure. Removes a ModelComponent object from the specified container. (hérité de ModelComponent.)
Méthode publique Submit() Infrastructure. Submits a ModelComponent object. (hérité de ModelComponent.)
Méthode publique Submit(Boolean) Infrastructure. Submits a ModelComponent object. (hérité de ModelComponent.)
Méthode publique ToString Infrastructure. Returns a string that represents the current object. (hérité de ModelComponent.)
Méthode publique Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (hérité de ModelComponent.)
Méthode publique 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.)
Méthode publique Validate(ValidationErrorCollection, Boolean, ServerEdition) Validates the element to which it is appended; returns any errors encountered into a collection. Also contains a parameter to enable return of detailed errors. (remplace ModelComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)

Haut de la page

Événements

  Nom Description
Événement public Disposed (hérité de Component.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée ICloneable.Clone Creates a clone of the AttributePermission object.
Implémentation d'interface explicitePropriété privée IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. (hérité de ModelComponent.)
Implémentation d'interface explicitePropriété privée IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. (hérité de ModelComponent.)
Implémentation d'interface explicitePropriété privée IModelComponent.OwningCollection Gets or sets the collection that owns the current object. (hérité de ModelComponent.)

Haut de la page

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.

Voir aussi

Référence

Espace de noms Microsoft.AnalysisServices