Partilhar via


Classe CubeDef

Represents the metadata for a cube.

Hierarquia de herança

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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public NotInheritable Class CubeDef
'Uso
Dim instance As CubeDef
public sealed class CubeDef
public ref class CubeDef sealed
[<SealedAttribute>]
type CubeDef =  class end
public final class CubeDef

O tipo CubeDef expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Caption Gets the caption of the CubeDef.
Propriedade pública Description Gets the description of the CubeDef.
Propriedade pública Dimensions Gets an instance of the DimensionCollection class that contains the dimensions for the CubeDef class.
Propriedade pública 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).
Propriedade pública LastProcessed Gets the date and time on which the CubeDef was last processed.
Propriedade pública LastUpdated Gets the date and time on which the CubeDef was last updated.
Propriedade pública Measures Gets an instance of the MeasureCollection class that contains the measures for the CubeDef.
Propriedade pública Name Gets the name of the CubeDef.
Propriedade pública NamedSets Gets an instance of the NamedSetCollection class that contains the named sets for the CubeDef.
Propriedade pública ParentConnection Gets an instance of the AdomdConnection class that contains the CubeDef.
Propriedade pública Properties Gets an instance of a PropertyCollection class that contains the properties associated with the CubeDef.
Propriedade pública Type Returns the CubeType of the cube, if supported by the provider.

Início

Métodos

  Nome Descrição
Método público Equals Determines whether two instances of Object are equal. (Substitui Object. . :: . .Equals(Object).)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode Serves as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables. (Substitui Object. . :: . .GetHashCode() () () ().)
Método público GetSchemaObject(SchemaObjectType, String) Returns an object associated with the CubeDef from a specified schema rowset.
Método público GetSchemaObject(SchemaObjectType, String, Boolean) Returns an object associated with the CubeDef from a specified schema rowset.
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString Returns a String that represents the current CubeDef. (Substitui Object. . :: . .ToString() () () ().)

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Equality Determines whether two specified instances of CubeDef are equal.
Operador públicoMembro estático Inequality Determines whether two specified instances of CubeDef have different values.

Início

Comentários

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.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.