Export (0) Print
Expand All

CubeAttribute Class

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.

Object
  MarshalByRefObject
    Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.CubeAttribute

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

[GuidAttribute("B9D7DFD8-43B0-4d72-9D7E-1D1352B99196")]
public sealed class CubeAttribute : ModelComponent, 
	ICloneable

The CubeAttribute type exposes the following members.

  NameDescription
Public methodCubeAttribute()Initializes a new instance of the CubeAttribute class using default values.
Public methodCubeAttribute(String)Initializes a new instance of CubeAttribute using an identifier.
Top

  NameDescription
Public propertyAggregationUsageGets or sets how Aggregation Designer will design aggregations.
Public propertyAnnotationsGets a collection within which you can store custom data. (Inherited from ModelComponent.)
Public propertyAttributeGets a dimension attribute from the CubeAttribute object.
Public propertyAttributeHierarchyEnabledGets or sets the attribute hierarchy enabled property associated with a CubeAttribute object.
Public propertyAttributeHierarchyOptimizedStateGets or sets the optimization state for a CubeAttribute object.
Public propertyAttributeHierarchyVisibleGets or sets the property controlling visibility of an attribute hierarchy associated with a CubeAttribute object.
Public propertyAttributeIDGets or sets the attribute identifier for a CubeAttribute object.
Public propertyContainer (Inherited from Component.)
Protected propertyFriendlyNameInfrastructure. Gets the friendly name of the ModelComponent. (Inherited from ModelComponent.)
Protected propertyKeyForCollectionInfrastructure. Gets the key used in the collection. (Inherited from ModelComponent.)
Public propertyOwningCollectionGets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.)
Public propertyParentGets the parent of the CubeAttribute object.
Public propertyParentCubeGets a parent Cube of the CubeAttribute object.
Public propertyParentDatabaseGets a parent Database of the CubeAttribute object.
Public propertyParentServerGets a parent Server of the CubeAttribute object.
Public propertySite (Inherited from Component.)
Top

  NameDescription
Protected methodAddToContainerInfrastructure. Adds a ModelComponent object to the specified container. (Inherited from ModelComponent.)
Protected methodAfterInsertInfrastructure. Displays a ModelComponent object after added to the specified index. (Inherited from ModelComponent.)
Protected methodAfterMoveInfrastructure. Displays a ModelComponent object after moving to the specified index. (Inherited from ModelComponent.)
Protected methodAfterRemoveInfrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (Inherited from ModelComponent.)
Protected methodBeforeRemoveInfrastructure. Removes the ModelComponent object before the cleanup. (Inherited from ModelComponent.)
Public methodCloneCreates a new, full copy of an object.
Public methodCopyToCopies a CubeAttribute object to the specified object.
Public methodCreateObjRefSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodDispose (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Protected methodRemoveFromContainerInfrastructure. Removes a ModelComponent object from the specified container. (Inherited from ModelComponent.)
Public methodSubmit()Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.)
Public methodSubmit(Boolean)Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.)
Public methodToStringReturns a string that represents the CubeAttribute object. (Overrides ModelComponent.ToString().)
Public methodValidate(ValidationErrorCollection)Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from ModelComponent.)
Public methodValidate(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.)
Public methodValidate(ValidationErrorCollection, Boolean, ServerEdition)Determines whether the CubeAttribute is valid. (Overrides ModelComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)
Top

  NameDescription
Public eventDisposed (Inherited from Component.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICloneableCloneCreates a new copy of the object instance.
Explicit interface implemetationPrivate propertyIHostableComponent.HostGets or sets the IServiceProvider that is the host of the ModelComponent. (Inherited from ModelComponent.)
Explicit interface implemetationPrivate propertyIModelComponent.FriendlyPathGets a friendly path for the ModelComponent. (Inherited from ModelComponent.)
Explicit interface implemetationPrivate propertyIModelComponent.OwningCollectionGets or sets the collection that owns the current object. (Inherited from ModelComponent.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft