DimensionAttribute Class
Describes a dimension attribute. This class cannot be inherited.
Inheritance Hierarchy
System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.NamedComponent
          Microsoft.AnalysisServices.DimensionAttribute
Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
<GuidAttribute("DFCB3BDD-51BE-416d-9E6C-3655EBB2845D")> _
Public NotInheritable Class DimensionAttribute _
    Inherits NamedComponent _
    Implements ICloneable
'Usage
Dim instance As DimensionAttribute
[GuidAttribute("DFCB3BDD-51BE-416d-9E6C-3655EBB2845D")]
public sealed class DimensionAttribute : NamedComponent, 
    ICloneable
[GuidAttribute(L"DFCB3BDD-51BE-416d-9E6C-3655EBB2845D")]
public ref class DimensionAttribute sealed : public NamedComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("DFCB3BDD-51BE-416d-9E6C-3655EBB2845D")>]
type DimensionAttribute =  
    class
        inherit NamedComponent
        interface ICloneable
    end
public final class DimensionAttribute extends NamedComponent implements ICloneable
The DimensionAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | DimensionAttribute() | Initializes a new instance of DimensionAttribute using the default values. | 
| .gif) | DimensionAttribute(String) | Initializes a new instance of DimensionAttribute using a name. | 
| .gif) | DimensionAttribute(String, String) | Initializes a new instance of DimensionAttribute using a name and an identifier. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Annotations | Gets a collection within which you can store custom data. (Inherited from ModelComponent.) | 
| .gif) | AttributeHierarchyDisplayFolder | Gets or sets the folder in which to display the associated attribute hierarchy. | 
| .gif) | AttributeHierarchyEnabled | Gets or sets whether an attribute hierarchy is enabled for the attribute. | 
| .gif) | AttributeHierarchyOptimizedState | Gets or sets the level of optimization applied to the attribute hierarchy. | 
| .gif) | AttributeHierarchyOrdered | Gets or sets whether the associated attribute hierarchy is ordered. | 
| .gif) | AttributeHierarchyVisible | Gets or sets whether the attribute hierarchy is visible to client applications. | 
| .gif) | AttributeRelationships | Gets the collection of AttributeRelationship objects for the attribute. | 
| .gif) | CanRaiseEvents | (Inherited from Component.) | 
| .gif) | Container | (Inherited from Component.) | 
| .gif) | CustomRollupColumn | Gets or sets the details of the column that provide a custom rollup formula. | 
| .gif) | CustomRollupPropertiesColumn | Gets or sets the details of a column that provide the properties of a custom rollup formula. | 
| .gif) | DefaultMember | Gets or sets a Multidimensional Expressions (MDX) expression that identifies the default member of DimensionAttribute. | 
| .gif) | Description | (Inherited from NamedComponent.) | 
| .gif) | DesignMode | (Inherited from Component.) | 
| .gif) | DiscretizationBucketCount | Gets or sets the number of buckets into which to discretize attribute values. | 
| .gif) | DiscretizationMethod | Gets or sets the method to be used for discretization. | 
| .gif) | EstimatedCount | Gets or sets the estimated number of members for an attribute. | 
| .gif) | Events | (Inherited from Component.) | 
| .gif) | FriendlyName | (Inherited from NamedComponent.) | 
| .gif) | GroupingBehavior | |
| .gif) | ID | (Inherited from NamedComponent.) | 
| .gif) | InstanceSelection | Gets or sets a hint to client applications to suggest how a list of items should be displayed, based on the expected number of items in the list. | 
| .gif) | IsAggregatable | Gets or sets whether the values of the DimensionAttribute object can be aggregated. | 
| .gif) | KeyColumns | Gets the collection of key column definitions for DimensionAttribute. | 
| .gif) | KeyForCollection | (Inherited from NamedComponent.) | 
| .gif) | KeyUniquenessGuarantee | Gets or sets whether the relationship between the attribute key and its name, and the relationship to related attributes, is guaranteed to be valid. | 
| .gif) | MemberNamesUnique | Gets or sets whether member names under DimensionAttribute must be unique. | 
| .gif) | MembersWithData | Gets or sets whether to display data members for non-leaf members in the parent attribute. | 
| .gif) | MembersWithDataCaption | Gets or sets a template string that is used to create captions for system-generated data members. | 
| .gif) | Name | (Inherited from NamedComponent.) | 
| .gif) | NameColumn | Gets or sets the column that provides the name of the DimensionAttribute. | 
| .gif) | NamingTemplate | Gets or sets how levels are named in a parent-child hierarchy constructed from the DimensionAttribute object. | 
| .gif) | NamingTemplateTranslations | Gets a collection of localized translations for the NamingTemplate property. | 
| .gif) | OrderBy | Gets or sets how to order the members contained in the attribute. | 
| .gif) | OrderByAttribute | Gets or sets the attribute by which to order the members of the attribute hierarchy. | 
| .gif) | OrderByAttributeID | Gets or sets another attribute by which to order the members of the DimensionAttribute. | 
| .gif) | OwningCollection | Gets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.) | 
| .gif) | Parent | |
| .gif) | ParentDatabase | Gets the parent database of the attribute. | 
| .gif) | ParentServer | Gets the parent Server of the attribute. | 
| .gif) | ProcessingState | |
| .gif) | RootMemberIf | Gets or sets how the root member or members of a parent attribute are identified. | 
| .gif) | Site | (Inherited from NamedComponent.) | 
| .gif) | SiteID | (Inherited from NamedComponent.) | 
| .gif) | SkippedLevelsColumn | Gets or sets the details of a column that stores the number of skipped (empty) levels between each member and its parent. | 
| .gif) | Source | |
| .gif) | Translations | Gets the collection of Translation objects associated with DimensionAttribute. | 
| .gif) | Type | |
| .gif) | UnaryOperatorColumn | Gets or sets the details of a column providing a unary operator. | 
| .gif) | Usage | Gets or sets how an attribute is used. | 
| .gif) | ValueColumn | Gets or sets the column that provides the value of DimensionAttribute. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddToContainer | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | AfterInsert | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | AfterMove | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | AfterRemove | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | BeforeRemove | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | Clone | Creates a new full copy of the DimensionAttribute object. | 
| .gif) | CopyTo(DimensionAttribute) | |
| .gif) | CopyTo(ModelComponent) | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | CopyTo(NamedComponent) | (Inherited from NamedComponent.) | 
| .gif) | CreateObjRef | (Inherited from MarshalByRefObject.) | 
| .gif) | Dispose() | (Inherited from Component.) | 
| .gif) | Dispose(Boolean) | (Inherited from Component.) | 
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Component.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetLifetimeService | (Inherited from MarshalByRefObject.) | 
| .gif) | GetService | (Inherited from Component.) | 
| .gif) | GetType | (Inherited from Object.) | 
| .gif) | InitializeLifetimeService | (Inherited from MarshalByRefObject.) | 
| .gif) | MemberwiseClone() | (Inherited from Object.) | 
| .gif) | MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | 
| .gif) | RemoveFromContainer | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | Reset | (Inherited from NamedComponent.) | 
| .gif) | Submit() | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | Submit(Boolean) | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | ToString | (Inherited from NamedComponent.) | 
| .gif) | Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from ModelComponent.) | 
| .gif) | 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.) | 
| .gif) | Validate(ValidationErrorCollection, Boolean, ServerEdition) | (Overrides NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | ICloneable.Clone | |
| .gif) .gif) | IFormattable.ToString | (Inherited from NamedComponent.) | 
| .gif) .gif) | IHostableComponent.Host | (Inherited from ModelComponent.) | 
| .gif) .gif) | IModelComponent.FriendlyPath | (Inherited from ModelComponent.) | 
| .gif) .gif) | IModelComponent.OwningCollection | (Inherited from ModelComponent.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)