Condividi tramite


AttributePermission Class

Definition

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

[System.Runtime.InteropServices.Guid("28E086A9-7107-40d6-A878-77DA5BD59E12")]
public sealed class AttributePermission : Microsoft.AnalysisServices.ModelComponent, ICloneable
[<System.Runtime.InteropServices.Guid("28E086A9-7107-40d6-A878-77DA5BD59E12")>]
type AttributePermission = class
    inherit ModelComponent
    interface ICloneable
Public NotInheritable Class AttributePermission
Inherits ModelComponent
Implements ICloneable
Inheritance
AttributePermission
Attributes
Implements

Constructors

AttributePermission()

Initializes a new instance of AttributePermission using the default values.

AttributePermission(String)

Initializes a new instance of AttributePermission using the specified attribute identifier.

Properties

AllowedSet

Gets or sets the expression that defines the allowed set.

Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Attribute

Gets the parent attribute to which the permissions relate.

AttributeID

Gets or sets the ID of the attribute to which the permissions relate.

DefaultMember

Gets or sets the expression that defines the default member.

DeniedSet

Gets or sets the expression that defines the denied set.

Description

Gets or sets the description of the AttributePermission.

FriendlyName

Gets the friendly name of the ModelComponent.

(Inherited from ModelComponent)
KeyForCollection

Gets the key used in collections.

(Inherited from ModelComponent)
OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent

Gets the IModelComponent object that is the parent of the ModelComponent object.

(Inherited from ModelComponent)
VisualTotals

Gets or sets a value that is displayed for members of this attribute (MDX expression). Default value is “0”.

Methods

AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
Clone()

Returns a clone of the object.

CopyTo(AttributePermission)

Copies the content of this object to another object (the destination).

CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset()

Resets the component to an initial state.

(Inherited from ModelComponent)
Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString()

Returns a string that represents the current object.

(Inherited from ModelComponent)
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.

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)

Validates the element to which it is appended; returns any errors encountered in a collection.

(Inherited from ModelComponent)

Explicit Interface Implementations

ICloneable.Clone()
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to