Compartir a través de


Clase DimensionAttribute

Describes a dimension attribute. This class cannot be inherited.

Jerarquía de herencia

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.NamedComponent
          Microsoft.AnalysisServices.DimensionAttribute

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
<GuidAttribute("DFCB3BDD-51BE-416d-9E6C-3655EBB2845D")> _
Public NotInheritable Class DimensionAttribute _
    Inherits NamedComponent _
    Implements ICloneable
'Uso
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

El tipo DimensionAttribute expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público DimensionAttribute() Initializes a new instance of DimensionAttribute using the default values.
Método público DimensionAttribute(String) Initializes a new instance of DimensionAttribute using a name.
Método público DimensionAttribute(String, String) Initializes a new instance of DimensionAttribute using a name and an identifier.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Annotations Gets a collection within which you can store custom data. (Se hereda de ModelComponent.)
Propiedad pública AttributeHierarchyDisplayFolder Gets or sets the folder in which to display the associated attribute hierarchy.
Propiedad pública AttributeHierarchyEnabled Gets or sets whether an attribute hierarchy is enabled for the attribute.
Propiedad pública AttributeHierarchyOptimizedState Gets or sets the level of optimization applied to the attribute hierarchy.
Propiedad pública AttributeHierarchyOrdered Gets or sets whether the associated attribute hierarchy is ordered.
Propiedad pública AttributeHierarchyProcessingState Gets or sets the processing state for the attribute.
Propiedad pública AttributeHierarchyVisible Gets or sets whether the attribute hierarchy is visible to client applications.
Propiedad pública AttributeRelationships Gets the collection of AttributeRelationship objects for the attribute.
Propiedad pública Container (Se hereda de Component.)
Propiedad pública CustomRollupColumn Gets or sets the details of the column that provide a custom rollup formula.
Propiedad pública CustomRollupPropertiesColumn Gets or sets the details of a column that provide the properties of a custom rollup formula.
Propiedad pública DefaultMember Gets or sets an MDX (Multidimensional Expressions) expression that identifies the default member of DimensionAttribute.
Propiedad pública Description Gets or sets the description of the component. (Se hereda de NamedComponent.)
Propiedad pública DiscretizationBucketCount Gets or sets the number of buckets into which to discretize attribute values.
Propiedad pública DiscretizationMethod Gets or sets the method to be used for discretization.
Propiedad pública EstimatedCount Gets or sets the estimated number of members for an attribute.
Propiedad pública ExtendedType
Propiedad pública FormatString Gets or sets the format item in a specified string.
Propiedad protegida FriendlyName Returns a user-friendly name. (Se hereda de NamedComponent.)
Propiedad pública GroupingBehavior Gets or sets the grouping behavior for the DimensionAttribute.
Propiedad pública ID Gets or sets the identifier of the component. (Se hereda de NamedComponent.)
Propiedad pública 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.
Propiedad pública IsAggregatable Gets or sets whether the values of the DimensionAttribute object can be aggregated.
Propiedad pública KeyColumns Gets the collection of key column definitions for DimensionAttribute.
Propiedad protegida KeyForCollection Returns the key used in collections. (Se hereda de NamedComponent.)
Propiedad pública 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.
Propiedad pública MemberNamesUnique Gets or sets whether member names under DimensionAttribute must be unique.
Propiedad pública MembersWithData Gets or sets whether to display data members for non-leaf members in the parent attribute.
Propiedad pública MembersWithDataCaption Gets or sets a template string that is used to create captions for system-generated data members.
Propiedad pública Name Gets or sets the name of the component. (Se hereda de NamedComponent.)
Propiedad pública NameColumn Gets or sets the column that provides the name of the DimensionAttribute.
Propiedad pública NamingTemplate Gets or sets how levels are named in a parent-child hierarchy constructed from the DimensionAttribute object.
Propiedad pública NamingTemplateTranslations Gets a collection of localized translations for the NamingTemplate property.
Propiedad pública OrderBy Gets or sets how to order the members contained in the attribute.
Propiedad pública OrderByAttribute Gets or sets the attribute by which to order the members of the attribute hierarchy.
Propiedad pública OrderByAttributeID Gets or sets another attribute by which to order the members of the DimensionAttribute.
Propiedad pública OwningCollection Gets or sets the collection that contains the ModelComponent. (Se hereda de ModelComponent.)
Propiedad pública Parent Gets the parent Dimension of the DimensionAttribute.
Propiedad pública ParentDatabase Gets the parent database of the attribute.
Propiedad pública ParentServer Gets the parent Server of the attribute.
Propiedad pública ProcessingState Gets or sets the processing state of the attribute.
Propiedad pública RootMemberIf Gets or sets how the root member or members of a parent attribute are identified.
Propiedad pública Site Infraestructura. Gets or sets the site of the component. (Se hereda de NamedComponent.)
Propiedad pública SiteID Infraestructura. Gets or sets the identifier for the site associated with the component. (Se hereda de NamedComponent.)
Propiedad pública SkippedLevelsColumn Gets or sets the details of a column that stores the number of skipped (empty) levels between each member and its parent.
Propiedad pública Source Gets or sets the source of the attribute.
Propiedad pública Translations Gets the collection of Translation objects associated with DimensionAttribute.
Propiedad pública Type Gets or sets the type of the attribute.
Propiedad pública UnaryOperatorColumn Gets or sets the details of a column providing a unary operator.
Propiedad pública Usage Gets or sets how an attribute is used.
Propiedad pública ValueColumn Gets or sets the column that provides the value of DimensionAttribute.
Propiedad pública VisualizationProperties Gets or sets the visualization properties.

Arriba

Métodos

  Nombre Descripción
Método protegido AddToContainer Infraestructura. Adds a ModelComponent object to the specified container. (Se hereda de ModelComponent.)
Método protegido AfterInsert Infraestructura. Displays a ModelComponent object after added to the specified index. (Se hereda de ModelComponent.)
Método protegido AfterMove Infraestructura. Displays a ModelComponent object after moving to the specified index. (Se hereda de ModelComponent.)
Método protegido AfterRemove Infraestructura. Displays a ModelComponentCollection after a ModelComponent object is removed. (Se hereda de ModelComponent.)
Método protegido BeforeRemove Infraestructura. Removes the ModelComponent object before the cleanup. (Se hereda de ModelComponent.)
Método público Clone Creates a new full copy of the DimensionAttribute object.
Método público CopyTo Copies the content of this object to another object.
Método público CreateObjRef Importante para la seguridad. (Se hereda de MarshalByRefObject.)
Método público Dispose (Se hereda de Component.)
Método público Equals (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetLifetimeService Importante para la seguridad. (Se hereda de MarshalByRefObject.)
Método público GetType (Se hereda de Object.)
Método público InitializeLifetimeService Importante para la seguridad. (Se hereda de MarshalByRefObject.)
Método protegido RemoveFromContainer Infraestructura. Removes a ModelComponent object from the specified container. (Se hereda de ModelComponent.)
Método público Submit() Infraestructura. Submits a ModelComponent object. (Se hereda de ModelComponent.)
Método público Submit(Boolean) Infraestructura. Submits a ModelComponent object. (Se hereda de ModelComponent.)
Método público ToString Returns a string containing the name of the component. (Se hereda de NamedComponent.)
Método público Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (Se hereda de ModelComponent.)
Método público 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. (Se hereda de ModelComponent.)
Método público Validate(ValidationErrorCollection, Boolean, ServerEdition) Determines whether the DimensionAttribute is valid. (Invalida NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)

Arriba

Eventos

  Nombre Descripción
Evento público Disposed (Se hereda de Component.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado ICloneable.Clone Creates a new copy of this object instance.
Implementación de interfaces explícitasMétodo privado IFormattable.ToString Formats the value of the current instance using the specified format. (Se hereda de NamedComponent.)
Implementación de interfaces explícitasPropiedad privada IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. (Se hereda de ModelComponent.)
Implementación de interfaces explícitasPropiedad privada IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. (Se hereda de ModelComponent.)
Implementación de interfaces explícitasPropiedad privada IModelComponent.OwningCollection Gets or sets the collection that owns the current object. (Se hereda de ModelComponent.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.AnalysisServices