CubeAttribute CubeAttribute CubeAttribute Class

Definition

Defines details for an attribute on a cube. Attributes in the dimension not explicitly included in this collection become part of the collection (and are returned by Discover) with all default values. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("B9D7DFD8-43B0-4d72-9D7E-1D1352B99196")]
public sealed class CubeAttribute : Microsoft.AnalysisServices.ModelComponent, ICloneable
type CubeAttribute = class
    inherit ModelComponent
    interface ICloneable
Public NotInheritable Class CubeAttribute
Inherits ModelComponent
Implements ICloneable
Inheritance
Attributes
Implements

Constructors

CubeAttribute() CubeAttribute() CubeAttribute()

Initializes a new instance of the CubeAttribute class using default values.

CubeAttribute(String) CubeAttribute(String) CubeAttribute(String)

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

Properties

AggregationUsage AggregationUsage AggregationUsage

Gets or sets how Aggregation Designer will design aggregations.

Annotations Annotations Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Attribute Attribute Attribute

Gets a dimension attribute from the CubeAttribute object.

AttributeHierarchyEnabled AttributeHierarchyEnabled AttributeHierarchyEnabled

Gets or sets the attribute hierarchy enabled property associated with a CubeAttribute object.

AttributeHierarchyOptimizedState AttributeHierarchyOptimizedState AttributeHierarchyOptimizedState

Gets or sets the optimization state for a CubeAttribute object.

AttributeHierarchyVisible AttributeHierarchyVisible AttributeHierarchyVisible

Gets or sets the property controlling visibility of an attribute hierarchy associated with a CubeAttribute object.

AttributeID AttributeID AttributeID

Gets or sets the attribute identifier for a CubeAttribute object.

FriendlyName FriendlyName FriendlyName

Gets the friendly name of the ModelComponent.

(Inherited from ModelComponent)
IHostableComponent.Host IHostableComponent.Host IHostableComponent.Host Inherited from ModelComponent
IModelComponent.FriendlyPath IModelComponent.FriendlyPath IModelComponent.FriendlyPath Inherited from ModelComponent
IModelComponent.OwningCollection IModelComponent.OwningCollection IModelComponent.OwningCollection Inherited from ModelComponent
KeyForCollection KeyForCollection KeyForCollection

Gets the key used in collections.

(Inherited from ModelComponent)
OwningCollection OwningCollection OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent Parent Parent

Gets the parent CubeDimension object of the CubeAttribute object.

ParentCube ParentCube ParentCube

Gets the parent Cube object of the CubeAttribute object.

ParentDatabase ParentDatabase ParentDatabase

Gets the parent Database object of the CubeAttribute object.

ParentServer ParentServer ParentServer

Gets the parent Server object of the CubeAttribute object.

Methods

AddToContainer(IContainer) AddToContainer(IContainer) AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32) AfterInsert(Int32) AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32) AfterMove(Int32, Int32) AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection) AfterRemove(ModelComponentCollection) AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean) BeforeRemove(Boolean) BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
Clone() Clone() Clone()

Returns a clone of the object.

CopyTo(CubeAttribute) CopyTo(CubeAttribute) CopyTo(CubeAttribute)

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

CopyTo(ModelComponent) CopyTo(ModelComponent) CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
RemoveFromContainer(IContainer) RemoveFromContainer(IContainer) RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset() Reset() Reset()

Resets the component to an initial state.

(Inherited from ModelComponent)
Submit() Submit() Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean) Submit(Boolean) Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString() ToString() ToString()

Returns a string that represents the CubeAttribute object.

Validate(ValidationErrorCollection) Validate(ValidationErrorCollection) Validate(ValidationErrorCollection)

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

(Inherited from ModelComponent)
Validate(ValidationErrorCollection, Boolean) Validate(ValidationErrorCollection, Boolean) 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, Boolean, ServerEdition) Validate(ValidationErrorCollection, Boolean, ServerEdition) Validate(ValidationErrorCollection, Boolean, ServerEdition)

Determines whether the CubeAttribute is valid.

Explicit Interface Implementations

ICloneable.Clone() ICloneable.Clone() ICloneable.Clone()

Applies to