CubeDef 类

Represents the metadata for a cube.

继承层次结构

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdServer..::..CubeDef

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

语法

声明
Public NotInheritable Class CubeDef _
    Implements IDisposable, IMetadataObject
用法
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

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 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

页首

方法

  名称 说明
公共方法 {dtor} Releases all resources used by the CubeDef.
公共方法 Dispose Releases all resources used by the CubeDef.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetSchemaObject Returns an object associated with the CubeDef from a specified schema rowset.
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。