Share via


Cube Class

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

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

Syntax

'Declaration
<DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
<XmlRootAttribute(Namespace:="https://schemas.microsoft.com/analysisservices/2003/engine")> _
<DesignerAttribute("Microsoft.AnalysisServices.Design.CubeDesigner,Microsoft.AnalysisServices.Design", GetType(IRootDesigner))> _
<GuidAttribute("127B4EBB-5328-4f6a-8A3B-72CF9BDA5F77")> _
<DesignerCategoryAttribute("Designer")> _
<DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
Public NotInheritable Class Cube
    Inherits ProcessableMajorObject
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
    IDisposable, ICloneable
[DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine")] 
[DesignerAttribute("Microsoft.AnalysisServices.Design.CubeDesigner,Microsoft.AnalysisServices.Design", typeof(IRootDesigner))] 
[GuidAttribute("127B4EBB-5328-4f6a-8A3B-72CF9BDA5F77")] 
[DesignerCategoryAttribute("Designer")] 
[DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
public sealed class Cube : ProcessableMajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
[DesignerSerializerAttribute(L"Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", L"Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[XmlRootAttribute(Namespace=L"https://schemas.microsoft.com/analysisservices/2003/engine")] 
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.CubeDesigner,Microsoft.AnalysisServices.Design", typeof(IRootDesigner))] 
[GuidAttribute(L"127B4EBB-5328-4f6a-8A3B-72CF9BDA5F77")] 
[DesignerCategoryAttribute(L"Designer")] 
[DesignerSerializerAttribute(L"Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", L"Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
public ref class Cube sealed : public ProcessableMajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
/** @attribute DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") */ 
/** @attribute XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") */ 
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.CubeDesigner,Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IRootDesigner) */ 
/** @attribute GuidAttribute("127B4EBB-5328-4f6a-8A3B-72CF9BDA5F77") */ 
/** @attribute DesignerCategoryAttribute("Designer") */ 
/** @attribute DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") */ 
public final class Cube extends ProcessableMajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable
DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") 
DesignerAttribute("Microsoft.AnalysisServices.Design.CubeDesigner,Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IRootDesigner) 
GuidAttribute("127B4EBB-5328-4f6a-8A3B-72CF9BDA5F77") 
DesignerCategoryAttribute("Designer") 
DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
public final class Cube extends ProcessableMajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable

Remarks

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.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       Microsoft.AnalysisServices.ModelComponent
         Microsoft.AnalysisServices.NamedComponent
           Microsoft.AnalysisServices.MajorObject
             Microsoft.AnalysisServices.ProcessableMajorObject
              Microsoft.AnalysisServices.Cube

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Cube Members
Microsoft.AnalysisServices Namespace