Sdílet prostřednictvím


CubeDef Class

Represents the metadata for a cube.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.CubeDef

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

Syntax

'Declaration
Public NotInheritable Class CubeDef _
    Implements IDisposable, IMetadataObject
'Usage
Dim instance As CubeDef
public sealed class CubeDef : IDisposable, 
    IMetadataObject
public ref class CubeDef sealed : IDisposable, 
    IMetadataObject
[<SealedAttribute>]
type CubeDef =  
    class
        interface IDisposable
        interface IMetadataObject
    end
public final class CubeDef implements IDisposable, IMetadataObject

The CubeDef type exposes the following members.

Properties

  Name Description
Public property Caption Gets the caption of the CubeDef.
Public property Description Gets the description of the CubeDef.
Public property Dimensions Gets an instance of the DimensionCollection class that contains the dimensions for the CubeDef class.
Public property Kpis Gets the Kpis associated with the CubeDef. This member is not supported for versions of Analysis Services earlier than Microsoft SSQL Server 2005 Analysis Services (SSAS).
Public property LastProcessed Gets the date and time on which the CubeDef was last processed.
Public property LastUpdated Gets the date and time on which the CubeDef was last updated.
Public property Measures Gets an instance of the MeasureCollection class that contains the measures for the CubeDef.
Public property Name Gets the name of the CubeDef.
Public property NamedSets Gets an instance of the NamedSetCollection class that contains the named sets for the CubeDef.
Public property Properties Gets an instance of a PropertyCollection class that contains the properties associated with the CubeDef.
Public property Type Returns the CubeType() of the cube, if supported by the provider.
Public property UniqueName

Top

Methods

  Name Description
Public method {dtor} Releases all resources used by the CubeDef.
Public method Dispose Releases all resources used by the CubeDef.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetSchemaObject Returns an object associated with the CubeDef from a specified schema rowset.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

In Microsoft SQL Server 2005 Analysis Services (SSAS), a cube is a collection of measures and dimensions.

In ADOMD.NET, the CubeDef represents only the metadata of a cube. You cannot retrieve cell data from a CubeDef; instead, this object provides a mechanism for retrieving metadata about a given cube as well as its dimensions, measures, and named sets for a client application.

Thread Safety

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