Partilhar via


Classe CubeDef

Represents the metadata for a cube.

Hierarquia de herança

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

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (em msmgdsrv.dll)

Sintaxe

'Declaração
Public NotInheritable Class CubeDef _
    Implements IDisposable, IMetadataObject
'Uso
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

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 Kpis associated with the CubeDef. This member is not supported for versions of Analysis Services earlier than Microsoft SSQL 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 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.
Propriedade pública UniqueName

Início

Métodos

  Nome Descrição
Método público {dtor} Releases all resources used by the CubeDef.
Método público Dispose Releases all resources used by the CubeDef.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetSchemaObject 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 (Herdado de Object.)

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.