共用方式為


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)。)
公用方法 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。)
公用方法 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 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.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.AnalysisServices.AdomdClient 命名空間