Export (0) Print
Expand All

Cube Class

Represents a cube from a database. This class cannot be inherited.

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

[GuidAttribute("127B4EBB-5328-4f6a-8A3B-72CF9BDA5F77")]
public sealed class Cube : ProcessableMajorObject, IMajorObject, 
	INamedComponent, IModelComponent, IComponent, IDisposable, ICloneable

The Cube type exposes the following members.

  NameDescription
Public methodCube()Initializes a new instance of the Cube class using the default values.
Public methodCube(String)Initializes a new instance of Cube using a name.
Public methodCube(String, String)Initializes a new instance of the Cube class, using a name and an identifier.
Top

  NameDescription
Public propertyActionsGets the actions collection for the cube.
Public propertyAggregationPrefixGets or sets the prefix for aggregations in the cube.
Public propertyAllMeasuresGets all measures as an enumeration object.
Public propertyAnnotationsGets the collection object of all annotations to current object. (Inherited from MajorObject.)
Protected propertyCanRaiseEvents (Inherited from Component.)
Public propertyCollationGets or sets the collation string for a Cube.
Public propertyContainer (Inherited from Component.)
Public propertyCreatedTimestampGets or sets the date and time of the creation of the object. (Inherited from MajorObject.)
Public propertyCubePermissionsGets the permissions collection associated with a cube.
Public propertyDataSourceGets the DataSource object associated with a Cube.
Public propertyDataSourceViewGets the DataSourceView object associated with a Cube.
Public propertyDefaultMdxScriptGets the defaultmdxscript object associated with a Cube.
Public propertyDefaultMeasureGets or sets the DefaultMeasure associated with a Cube.
Public propertyDescriptionGets or sets a description string of current object. (Inherited from MajorObject.)
Protected propertyDesignMode (Inherited from Component.)
Public propertyDimensionsGets the dimensions collection associated with a Cube.
Public propertyErrorConfigurationGets or sets the ErrorConfiguration associated with a Cube.
Public propertyEstimatedRowsGets or sets the number of EstimatedRows for a Cube.
Protected propertyEvents (Inherited from Component.)
Protected propertyFriendlyName (Inherited from NamedComponent.)
Public propertyID (Inherited from NamedComponent.)
Public propertyIsLoadedInfrastructure. (Inherited from MajorObject.)
Protected propertyKeyForCollection (Inherited from NamedComponent.)
Public propertyKpisGets a collection of Kpis associated with a Cube.
Public propertyLanguageGets or sets the default Language to use for the Cube.
Public propertyLastProcessed (Inherited from ProcessableMajorObject.)
Public propertyLastSchemaUpdateGets or sets the date and time when current object schema was last updated. (Inherited from MajorObject.)
Public propertyMdxScriptsGets a collection of MdxScripts associated with a Cube.
Public propertyMeasureGroupsGets a collection of MeasureGroups associated with a Cube.
Public propertyName (Inherited from NamedComponent.)
Public propertyOwningCollectionGets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.)
Public propertyParentGets the parent Database of the Cube object.
Public propertyParentServerGets the Server object that is the parent of the Cube.
Public propertyPerspectivesGets the perspectives for the cube.
Public propertyProactiveCachingGets or sets the proactive caching settings for the cube.
Public propertyProcessingModeGets or sets the index and aggregation settings for cube processing.
Public propertyProcessingPriorityGets or sets the processing priority for the cube.
Public propertyScriptCacheProcessingModeGets or sets the script cache settings for processing.
Public propertyScriptErrorHandlingMode
Public propertySite (Inherited from NamedComponent.)
Public propertySiteID (Inherited from NamedComponent.)
Public propertySourceGets or sets the source for a relational cube.
Public propertyState (Inherited from ProcessableMajorObject.)
Public propertyStorageLocationGets or sets the storage location for the cube.
Public propertyStorageModeGets or sets the storage mode for the cube.
Public propertyTranslationsGets the translations for the cube.
Public propertyVisibleGets or sets a value that indicates whether a cube can be viewed.
Top

  NameDescription
Protected methodAddToContainerInfrastructure. (Inherited from ModelComponent.)
Protected methodAfterInsertInfrastructure. (Inherited from ModelComponent.)
Protected methodAfterMoveInfrastructure. (Inherited from ModelComponent.)
Protected methodAfterRemoveInfrastructure. (Inherited from ModelComponent.)
Protected methodBeforeRemoveInfrastructure. (Inherited from ModelComponent.)
Public methodCanProcessIndicates whether the cube can perform the specified processing. (Overrides ProcessableMajorObject.CanProcess(ProcessType).)
Public methodClone()Creates a new, full copy of an object.
Protected methodClone(Boolean)Infrastructure. (Inherited from MajorObject.)
Public methodCopyTo(Cube)Copies a Cube to the specified object.
Protected methodCopyTo(ModelComponent)Infrastructure. (Inherited from ModelComponent.)
Protected methodCopyTo(NamedComponent) (Inherited from NamedComponent.)
Protected methodCopyTo(MajorObject, Boolean) (Inherited from ProcessableMajorObject.)
Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Public methodDispose() (Inherited from Component.)
Protected methodDispose(Boolean) (Inherited from Component.)
Public methodDrop()Removes current object and updates server. (Inherited from MajorObject.)
Public methodDrop(DropOptions)Removes current object and updates server using specified options. (Inherited from MajorObject.)
Public methodDrop(DropOptions, XmlaWarningCollection)Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings object. (Inherited from MajorObject.)
Public methodDrop(DropOptions, XmlaWarningCollection, ImpactDetailCollection)Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable. (Inherited from MajorObject.)
Public methodDrop(DropOptions, XmlaWarningCollection, ImpactDetailCollection, Boolean)Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable. (Inherited from MajorObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Component.)
Protected methodGetCreateReferencesInfrastructure. (Inherited from MajorObject.)
Public methodGetDependentsAdds the mining structures and subsequent dependants to the specified Hashtable. (Overrides MajorObject.GetDependents(Hashtable).)
Protected methodGetDropDependentsInfrastructure. (Inherited from MajorObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetReferencesGets the objects that the cube references. (Overrides MajorObject.GetReferences(Hashtable, Boolean).)
Protected methodGetService (Inherited from Component.)
Public methodGetType (Inherited from Object.)
Public methodGetUpdateOverwritesInfrastructure. (Inherited from MajorObject.)
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Public methodLinkMeasureGroup(MeasureGroup, String)Generates a regular measure group, but it is set up to point to other measure groups. As parameters, this method takes the measure group (source) you want to link to and a data source identifier.
Public methodLinkMeasureGroup(MeasureGroup, String, String)Generates a regular measure group, but it is set up to point to other measure groups. As parameters, this method takes the measure group (source) you want to link to and a data source identifier.
Protected methodMemberwiseClone() (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public methodProcess() (Inherited from ProcessableMajorObject.)
Public methodProcess(ProcessType) (Inherited from ProcessableMajorObject.)
Public methodProcess(ProcessType, Binding) (Inherited from ProcessableMajorObject.)
Public methodProcess(ProcessType, ErrorConfiguration) (Inherited from ProcessableMajorObject.)
Public methodProcess(ProcessType, WriteBackTableCreation) (Inherited from ProcessableMajorObject.)
Public methodProcess(ProcessType, ErrorConfiguration, XmlaWarningCollection) (Inherited from ProcessableMajorObject.)
Public methodProcess(ProcessType, ErrorConfiguration, XmlaWarningCollection, ImpactDetailCollection) (Inherited from ProcessableMajorObject.)
Public methodProcess(ProcessType, ErrorConfiguration, XmlaWarningCollection, ImpactDetailCollection, Boolean) (Inherited from ProcessableMajorObject.)
Public methodRefresh()Updates current object from server definitions. (Inherited from MajorObject.)
Public methodRefresh(Boolean)Updates current object from server definitions and loaded dependent objects if specified. (Inherited from MajorObject.)
Public methodRefresh(Boolean, RefreshType)Updates current object from server definitions and loaded dependent objects if specified. (Inherited from MajorObject.)
Protected methodRemoveFromContainerInfrastructure. (Inherited from ModelComponent.)
Protected methodReset (Inherited from NamedComponent.)
Public methodSubmit()Infrastructure. (Inherited from ModelComponent.)
Public methodSubmit(Boolean)Infrastructure. (Inherited from ModelComponent.)
Public methodToString (Inherited from NamedComponent.)
Public methodUpdate()Updates server definition of current object to actual values using the default values to update dependent objects. (Inherited from MajorObject.)
Public methodUpdate(UpdateOptions)Updates server definition of current object to actual values using the specified options to update dependent objects. (Inherited from MajorObject.)
Public methodUpdate(UpdateOptions, UpdateMode)Updates server definition of current object to actual values using the specified options to update dependent objects. (Inherited from MajorObject.)
Public methodUpdate(UpdateOptions, UpdateMode, XmlaWarningCollection)Updates server definition of current object to actual values using the specified options to update dependent objects and reports any warnings from operation. (Inherited from MajorObject.)
Public methodUpdate(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection)Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. (Inherited from MajorObject.)
Public methodUpdate(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection, Boolean)Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. If analyzeImpactOnly is true, an impact analysis operation is performed with no update operation. (Inherited from MajorObject.)
Public methodValidate(ValidationErrorCollection)Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from ModelComponent.)
Public methodValidate(ValidationResultCollection) (Inherited from MajorObject.)
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(ValidationResultCollection, ValidationOptions) (Inherited from MajorObject.)
Public methodValidate(ValidationErrorCollection, Boolean, ServerEdition) (Overrides NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)
Public methodValidate(ValidationResultCollection, ValidationOptions, ServerEdition) (Inherited from MajorObject.)
Public methodValidate(ValidationErrorCollection, Boolean, Boolean, ServerEdition)
Top

  NameDescription
Public eventDisposed (Inherited from Component.)
Top

Cubes are managed from a cubes collection in a database. Cubes are created by adding them to the cubes collection in the database. Cubes are deleted by removing them from the cubes collection in the database.

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