CubeDimension Class

Definition

Represents the relationship between a dimension and a cube. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("D245D11D-C3DD-4d75-9AF0-C90DB5094BCB")]
public sealed class CubeDimension : Microsoft.AnalysisServices.NamedComponent, ICloneable
[<System.Runtime.InteropServices.Guid("D245D11D-C3DD-4d75-9AF0-C90DB5094BCB")>]
type CubeDimension = class
    inherit NamedComponent
    interface ICloneable
Public NotInheritable Class CubeDimension
Inherits NamedComponent
Implements ICloneable
Inheritance
Attributes
Implements

Constructors

CubeDimension()

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

CubeDimension(String, String, String)

Initializes a new instance of CubeDimension using the specified dimension identifier, name and CubeDimension identifier.

CubeDimension(String)

Initializes a new instance of CubeDimension using the specified dimension identifier.

Fields

MaxIDLength

Specifies the maximum length of the identifier.

(Inherited from NamedComponent)
MaxNameLength

Specifies the maximum length of the name.

(Inherited from NamedComponent)

Properties

AllMemberAggregationUsage

Gets or sets controls for how aggregations are designed in the Aggregation Designer.

Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Attributes

Gets the collection of attributes associated with a CubeDimension object.

Description

Gets or sets the description of the component.

(Inherited from NamedComponent)
Dimension

Gets the Dimension associated with the CubeDimension object.

DimensionID

Gets or sets the dimension identifier associated with the CubeDimension object.

FriendlyName

Gets a user-friendly name for the component.

(Inherited from NamedComponent)
Hierarchies

Gets the hierarchies associated with a CubeDimension object.

HierarchyUniqueNameStyle

Gets or sets how unique names are generated for hierarchies that are contained within the CubeDimension.

ID

Gets or sets the identifier of the component.

(Inherited from NamedComponent)
KeyForCollection

Gets the key used in collections.

(Inherited from NamedComponent)
MemberUniqueNameStyle

Gets or sets how unique names are generated for members of hierarchies contained within the CubeDimension.

Name

Gets or sets the name of the component.

(Inherited from NamedComponent)
OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent

Gets the parent Cube object of the CubeDimension object.

ParentDatabase

Gets the parent Database object of the CubeDimension object.

ParentServer

Gets the parent Server object of the CubeDimension object.

Site

Gets or sets the site associated with the component.

(Inherited from NamedComponent)
SiteID

Gets or sets the identifier for the site associated with the component.

(Inherited from NamedComponent)
Translations

Gets the translations collection associated with a CubeDimension object.

Visible

Gets or sets the visibility property for a CubeDimension 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(CubeDimension)

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

CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
CopyTo(NamedComponent)

Copies a NamedComponent object to the specified object.

(Inherited from NamedComponent)
RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset()

Resets the component to its initial state.

(Inherited from NamedComponent)
Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString()

Returns a string representing the named-component.

(Inherited from NamedComponent)
Validate(ValidationErrorCollection, Boolean, ServerEdition)

Determines whether the CubeDimension 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()
IFormattable.ToString(String, IFormatProvider) (Inherited from NamedComponent)
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to