Поделиться через


Класс 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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.AnalysisServices.AdomdClient