Describes a dimension attribute. This class cannot be inherited.
The following tables list the members exposed by the DimensionAttribute type.
Public Constructors
| 名称 | Description | |
|---|---|---|
| DimensionAttribute | Overloaded. Initializes a new instance of DimensionAttribute. | 
顶部
Public Properties
(see also Protected Properties )
| 名称 | 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) | 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) | DiscretizationBucketCount | Gets or sets the number of buckets into which to discretize. | 
| .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) | 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) | 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) | 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. | 
顶部
Protected Properties
| 名称 | Description | |
|---|---|---|
| .gif) | CanRaiseEvents | (inherited from Component ) | 
| .gif) | DesignMode | (inherited from Component ) | 
| .gif) | Events | (inherited from Component ) | 
| .gif) | FriendlyName | (inherited from NamedComponent ) | 
| .gif) | KeyForCollection | (inherited from NamedComponent ) | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Clone | Creates a new full copy of the DimensionAttribute object. | 
| .gif) | CopyTo | Overloaded. | 
| .gif) | CreateObjRef | (inherited from MarshalByRefObject ) | 
| .gif) | Dispose | Overloaded. (inherited from Component ) | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetLifetimeService | (inherited from MarshalByRefObject ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | InitializeLifetimeService | (inherited from MarshalByRefObject ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | Submit | Overloaded. (inherited from ModelComponent ) | 
| .gif) | ToString | (inherited from NamedComponent ) | 
| .gif) | Validate | Overloaded. | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | AddToContainer | (inherited from ModelComponent ) | 
| .gif) | AfterInsert | (inherited from ModelComponent ) | 
| .gif) | AfterMove | (inherited from ModelComponent ) | 
| .gif) | AfterRemove | (inherited from ModelComponent ) | 
| .gif) | BeforeRemove | (inherited from ModelComponent ) | 
| .gif) | CopyTo | Overloaded. (inherited from NamedComponent ) | 
| .gif) | Dispose | Overloaded. (inherited from Component ) | 
| .gif) | Finalize | (inherited from Component ) | 
| .gif) | GetService | (inherited from Component ) | 
| .gif) | MemberwiseClone | Overloaded. (inherited from MarshalByRefObject ) | 
| .gif) | RemoveFromContainer | (inherited from ModelComponent ) | 
| .gif) | Reset | (inherited from NamedComponent ) | 
顶部
Public Events
| 名称 | Description | |
|---|---|---|
| .gif) | Disposed | (inherited from Component ) | 
顶部
Explicit Interface Implementations
| 名称 | Description | |
|---|---|---|
| System.ICloneable.Clone | ||
| System.IFormattable.ToString | (inherited from NamedComponent ) | |
| Microsoft.AnalysisServices.Hosting.IHostableComponent.Host | (inherited from ModelComponent ) | |
| Microsoft.AnalysisServices.IModelComponent.FriendlyPath | (inherited from ModelComponent ) | |
| Microsoft.AnalysisServices.IModelComponent.OwningCollection | (inherited from ModelComponent ) | 
顶部
请参阅
参考
DimensionAttribute Class
Microsoft.AnalysisServices Namespace