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 | |
---|---|---|
Caption | Gets the caption of the CubeDef. | |
Description | Gets the description of the CubeDef. | |
Dimensions | Gets an instance of the DimensionCollection class that contains the dimensions for the CubeDef class. | |
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). | |
LastProcessed | Gets the date and time on which the CubeDef was last processed. | |
LastUpdated | Gets the date and time on which the CubeDef was last updated. | |
Measures | Gets an instance of the MeasureCollection class that contains the measures for the CubeDef. | |
Name | Gets the name of the CubeDef. | |
NamedSets | Gets an instance of the NamedSetCollection class that contains the named sets for the CubeDef. | |
Properties | Gets an instance of a PropertyCollection class that contains the properties associated with the CubeDef. | |
Type | Returns the CubeType() of the cube, if supported by the provider. | |
UniqueName |
Top
Methods
Name | Description | |
---|---|---|
{dtor} | Releases all resources used by the CubeDef. | |
Dispose | Releases all resources used by the CubeDef. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetSchemaObject | Returns an object associated with the CubeDef from a specified schema rowset. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.