Jaa


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
[<System.Runtime.InteropServices.Guid("B9D7DFD8-43B0-4d72-9D7E-1D1352B99196")>]
type CubeAttribute = class
    inherit ModelComponent
    interface ICloneable
Public NotInheritable Class CubeAttribute
Inherits ModelComponent
Implements ICloneable
Inheritance
CubeAttribute
Attributes
Implements

Constructors

CubeAttribute()

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

CubeAttribute(String)

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

Properties

AggregationUsage

Gets or sets how Aggregation Designer will design aggregations.

Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Attribute

Gets a dimension attribute from the CubeAttribute object.

AttributeHierarchyEnabled

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

AttributeHierarchyOptimizedState

Gets or sets the optimization state for a CubeAttribute object.

AttributeHierarchyVisible

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

AttributeID

Gets or sets the attribute identifier for a CubeAttribute object.

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 parent CubeDimension object of the CubeAttribute object.

ParentCube

Gets the parent Cube object of the CubeAttribute object.

ParentDatabase

Gets the parent Database object of the CubeAttribute object.

ParentServer

Gets the parent Server object of the CubeAttribute object.

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(CubeAttribute)

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 CubeAttribute object.

Validate(ValidationErrorCollection, Boolean, ServerEdition)

Determines whether the CubeAttribute is valid.

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