CubeDef 类

Represents the metadata for a cube.

继承层次结构

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdClient..::..CubeDef

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public NotInheritable Class CubeDef
用法
Dim instance As CubeDef
public sealed class CubeDef
public ref class CubeDef sealed
[<SealedAttribute>]
type CubeDef =  class end
public final class CubeDef

CubeDef 类型公开以下成员。

属性

  名称 说明
公共属性 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.

页首

方法

  名称 说明
公共方法 Equals Determines whether two instances of Object are equal. (覆盖 Object. . :: . .Equals(Object)。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode Serves as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables. (覆盖 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 (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString Returns a String that represents the current CubeDef. (覆盖 Object. . :: . .ToString() () () ()。)

页首

运算符

  名称 说明
公共运算符静态成员 Equality Determines whether two specified instances of CubeDef are equal.
公共运算符静态成员 Inequality Determines whether two specified instances of CubeDef have different values.

页首

注释

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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。