CubeDef Class
Represents the metadata for a cube.
Inheritance Hierarchy
System.Object
Microsoft.AnalysisServices.AdomdClient.CubeDef
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public NotInheritable Class CubeDef
'Usage
Dim instance As CubeDef
public sealed class CubeDef
public ref class CubeDef sealed
[<SealedAttribute>]
type CubeDef = class end
public final class CubeDef
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 Key Performance Indicators (KPIs) associated with the CubeDef. This member is not supported for versions of Analysis Services earlier than Microsoft SQL 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. | |
ParentConnection | Gets an instance of the AdomdConnection class that contains 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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether two instances of Object are equal. (Overrides Object.Equals(Object).) | |
GetHashCode | Serves as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables. (Overrides Object.GetHashCode().) | |
GetSchemaObject(SchemaObjectType, String) | Returns an object associated with the CubeDef from a specified schema rowset. | |
GetSchemaObject(SchemaObjectType, String, Boolean) | Returns an object associated with the CubeDef from a specified schema rowset. | |
GetType | (Inherited from Object.) | |
ToString | Returns a String that represents the current CubeDef. (Overrides Object.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two specified instances of CubeDef are equal. | |
Inequality | Determines whether two specified instances of CubeDef have different values. |
Top
Remarks
In Analysis Services, 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.